Ok, I think the puppet config print variable should be changed to puppet
--configprint variable:

# puppet config print abc; echo $?
err: Could not parse /etc/puppet/puppet.conf: Could not match line abc at 
/etc/puppet/puppet.conf:bla
invalid parameter: abc
0

# puppet --configprint abc; echo $?
invalid parameter: abc
1

# puppet config print certname; echo $?
err: Could not parse /etc/puppet/puppet.conf: Could not match line abc at 
/etc/puppet/puppet.conf:bla
host.example.com
0

# puppet --configprint certname; echo $?
host.example.com
0

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to puppet in Ubuntu.
https://bugs.launchpad.net/bugs/950183

Title:
  puppetmaster-passenger postinst creates wrong certificate files and
  puppetmaster vhost if puppet config print has an error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/950183/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to