Skip to content

Instantly share code, notes, and snippets.

@tomvachon
Created June 19, 2012 15:53
Show Gist options
  • Save tomvachon/2954943 to your computer and use it in GitHub Desktop.
Save tomvachon/2954943 to your computer and use it in GitHub Desktop.
Puppet & initsev weirdness
root@admin:~# /sbin/initctl --version
initctl (upstart 1.5)
Copyright (C) 2012 Scott James Remnant, Canonical Ltd.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
root@admin:~# echo $?
0
root@admin:~# puppet agent --test
info: Retrieving plugin
info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb
info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/root_home.rb
info: Loading facts in /etc/puppet/modules/concat/lib/facter/concat_basedir.rb
info: Loading facts in /etc/puppet/modules/commonfacts/lib/facter/instance_type.rb
info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
info: Loading facts in /var/lib/puppet/lib/facter/instance_type.rb
info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
info: Caching catalog for admin.os.sessionm.com
info: Applying configuration version '1340098865'
err: /Stage[main]/Dhcp/Service[isc-dhcp-server]: Could not evaluate: Execution of '/sbin/initctl --version' returned 1: initctl: invalid command: --version
Try `initctl --help' for more information.
notice: Finished catalog run in 0.64 seconds
root@admin:~# puppet --version
2.7.16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment