#Puppet
4 posts tagged “Puppet”
4 posts tagged “Puppet”
| [Unit] | |
| Description=Minio | |
| Documentation=https://docs.minio.io | |
| Wants=network-online.target | |
| After=network-online.target | |
| After=syslog.target network.target | |
| AssertFileIsExecutable=<%= @installation_directory %>/minio | |
| [Service] | |
| WorkingDirectory=<%= @installation_directory %> | |
| Environment="MINIO_ACCESS_KEY=<%= @access_key %>" | |
| Environment="MINIO_SECRET_KEY=<%= @secret_key %>" | |
| User=<%= @owner %> | |
| Group=<%= @group %> | |
| PermissionsStartOnly=true | |
| ExecStart=<%= @installation_directory %>/minio server --config-dir <%= @configuration_directory %> \ | |
| <% @cluster_fqdn.each_with_index do |fqdn, i| -%> | |
| <%- unless i < (@cluster_fqdn.size - 1) -%> | |
| http://<%= fqdn %><%= @minio_mount_partition %>/minio-data | |
| <%- else -%> | |
| http://<%= fqdn %><%= @minio_mount_partition %>/minio-data \ | |
| <%- end -%> | |
| <% end -%> | |
| StandardOutput=journal | |
| StandardError=inherit | |
| # Specifies the maximum file descriptor number that can be opened by this process | |
| LimitNOFILE=65536 | |
| # Disable timeout logic and wait until process is stopped | |
| TimeoutStopSec=0 | |
| # SIGTERM signal is used to stop Minio | |
| KillSignal=SIGTERM | |
| SendSIGKILL=no | |
| SuccessExitStatus=0 | |
| [Install] | |
| WantedBy=multi-user.target |
include docker
docker::image { 'jenkins': }
docker::run { ‘some-jenkins’:
image => ‘jenkins’,
ports => ‘8080:8080’,
volumes => ‘/vagrant/jenkins’,
use_name => true,
}

Note: 1 of this post’s 8 links are now broken — mostly dead 2008–2013 feed-syndication infrastructure (FeedBurner, Gawker, AOL’s old blog network, Pheedo, Yahoo Pipes). Left as originally published.