Ubuntu 14.04
Looks good!
-
Version
root@p0oj6hlc4t7qi1q:~# puppet --version
|
3.7.5
|
-
Apply
root@p0oj6hlc4t7qi1q:~# puppet apply -e "notify {'test':}"
|
Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
|
(at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in `issue_deprecation_warning')
|
Notice: Compiled catalog for p0oj6hlc4t7qi1q.delivery.puppetlabs.net in environment production in 0.02 seconds
|
Notice: test
|
Notice: /Stage[main]/Main/Notify[test]/message: defined 'message' as 'test'
|
Notice: Finished catalog run in 0.01 seconds
|
-
Help/man
puppet help and man puppet work as expected.
-
Starting a master
root@p0oj6hlc4t7qi1q:~# puppet master --verbose --no-daemonize
|
Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
|
(at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in `issue_deprecation_warning')
|
Notice: Starting Puppet master version 3.7.5
|
-
Write and run some manifests
Given the manifest
node default {
|
package { 'apache2':
|
ensure => installed,
|
}
|
|
file { '/tmp/test':
|
ensure => file,
|
mode => '0644',
|
content => 'Hello, world!',
|
}
|
|
notify { 'Notify!': }
|
}
|
root@p0oj6hlc4t7qi1q:~# puppet agent -t
|
Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
|
(at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in `issue_deprecation_warning')
|
Info: Retrieving plugin
|
Info: Caching catalog for p0oj6hlc4t7qi1q.delivery.puppetlabs.net
|
Info: Applying configuration version '1427321863'
|
Notice: Notify!
|
Notice: /Stage[main]/Main/Node[default]/Notify[Notify!]/message: defined 'message' as 'Notify!'
|
Notice: /Stage[main]/Main/Node[default]/File[/tmp/test]/ensure: defined content as '{md5}6cd3556deb0da54bca060b4c39479839'
|
Notice: /Stage[main]/Main/Node[default]/Package[apache2]/ensure: ensure changed 'purged' to 'present'
|
Notice: Finished catalog run in 6.25 seconds
|
|
root@p0oj6hlc4t7qi1q:~# cat /tmp/test
|
Hello, world!
|
|