Puppet Class: spaarti
- Defined in:
- manifests/init.pp
Overview
Class: spaarti
Full description of class spaarti here.
Parameters
- sample_parameter
-
Explanation of what this parameter affects and what it defaults to.
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'manifests/init.pp', line 10
class spaarti (
) {
ruby_gem { 'spaarti':
gem => 'spaarti',
ruby_version => '*'
} ->
file { "/Users/${::boxen_user}/.octoauth.d/spaarti.yml":
content => template('spaarti/octoauth.yml'),
mode => '0600',
require => Class['::dotfiles']
} ->
exec { 'spaarti':
command => "sudo -u ${::boxen_user} spaarti",
user => 'root',
timeout => 0,
schedule => 'daily',
require => Class['::ssh']
} ->
exec { "/Users/${::boxen_user}/.bin/repo_sync":
cwd => $::boxen_srcdir,
timeout => 0,
schedule => 'daily'
}
}
|