[Pkg-puppet-devel] Bug#712780: puppet-common seems to be missing a dependency on ruby-hiera

Alexander Kurtz alexander at kurtz.be
Wed Jun 19 12:26:54 UTC 2013


Package: puppet-common
Version: 3.2.1-1
Severity: important

Hi,

puppet-common seems to be missing a dependency on ruby-hiera. Trying to
apply any manifest which uses classes with default parameters fails if
ruby-hiera is not installed:

	root at shepard:~# puppet --version
	3.2.1
	root at shepard:~# cat demo.pp 
	class greeting(
		$message = "Hello"
	){
		notify { $message:
		}
	}

	class { 'greeting':
	}
	root at shepard:~# puppet apply demo.pp 
	Warning: Could not retrieve fact fqdn
	Error: Puppet::Parser::AST::Resource failed with error RuntimeError: Hiera terminus not supported without hiera library at /root/demo.pp:9 on node shepard
	Error: Puppet::Parser::AST::Resource failed with error RuntimeError: Hiera terminus not supported without hiera library at /root/demo.pp:9 on node shepard

Installing the "ruby-hiera" package makes puppet work again:

	root at shepard:~# apt-get -qq install ruby-hiera
	Preconfiguring packages ...
	Selecting previously unselected package rubygems.
	(Reading database ... 280029 files and directories currently installed.)
	Unpacking rubygems (from .../rubygems_1.8.24-1_all.deb) ...
	Selecting previously unselected package ruby-stomp.
	Unpacking ruby-stomp (from .../ruby-stomp_1.2.9-1_all.deb) ...
	Selecting previously unselected package ruby-systemu.
	Unpacking ruby-systemu (from .../ruby-systemu_2.5.1-1_all.deb) ...
	Selecting previously unselected package mcollective-common.
	Unpacking mcollective-common (from .../mcollective-common_2.0.0+dfsg-2_all.deb) ...
	Selecting previously unselected package ruby-hiera.
	Unpacking ruby-hiera (from .../ruby-hiera_1.0.0~rc3-1_all.deb) ...
	Processing triggers for man-db ...
	Setting up rubygems (1.8.24-1) ...
	Setting up ruby-stomp (1.2.9-1) ...
	Setting up ruby-systemu (2.5.1-1) ...
	Setting up mcollective-common (2.0.0+dfsg-2) ...
	Setting up ruby-hiera (1.0.0~rc3-1) ...
	root at shepard:~# puppet apply demo.pp 
	Warning: Could not retrieve fact fqdn
	Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
	Notice: Hello
	Notice: /Stage[main]/Greeting/Notify[Hello]/message: defined 'message' as 'Hello'
	Notice: Finished catalog run in 0.06 seconds
	root at shepard:~# 

Please add ruby-hiera to puppet-common's dependencies!

Best regards

Alexander Kurtz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20130619/37fb418d/attachment.sig>


More information about the Pkg-puppet-devel mailing list