# HG changeset patch # User Kristina Tripp # Date 1411074098 21600 # Node ID fad389ea20c707e43e1aafeb125abf5cadbc0913 # Parent ea57cc1059bfb150f79e55be775cb9d8c3dbbd9c 19623766 hiera-19 package not installed if ruby-19 not installed 19646558 puppet-19 package not installed if ruby-19 not installed 19646677 facter-19 package not installed if ruby-19 not installed diff -r ea57cc1059bf -r fad389ea20c7 components/ruby/facter/facter-GENFRAG.p5m --- a/components/ruby/facter/facter-GENFRAG.p5m Thu Sep 18 09:47:48 2014 -0700 +++ b/components/ruby/facter/facter-GENFRAG.p5m Thu Sep 18 15:01:38 2014 -0600 @@ -30,3 +30,6 @@ license facter.license license="Apache v2.0" +# force dependency on ruby runtime package to ensure at least one version +# of ruby is installed on the system +depend type=require fmri=pkg:/runtime/ruby diff -r ea57cc1059bf -r fad389ea20c7 components/ruby/facter/facter-RUBYVER.p5m --- a/components/ruby/facter/facter-RUBYVER.p5m Thu Sep 18 09:47:48 2014 -0700 +++ b/components/ruby/facter/facter-RUBYVER.p5m Thu Sep 18 15:01:38 2014 -0600 @@ -1174,4 +1174,4 @@ # force a dependency on the facter package depend type=require \ - fmri=system/management/facter@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) + fmri=pkg:/system/management/facter@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) diff -r ea57cc1059bf -r fad389ea20c7 components/ruby/hiera/hiera-GENFRAG.p5m --- a/components/ruby/hiera/hiera-GENFRAG.p5m Thu Sep 18 09:47:48 2014 -0700 +++ b/components/ruby/hiera/hiera-GENFRAG.p5m Thu Sep 18 15:01:38 2014 -0600 @@ -35,3 +35,6 @@ dir path=var/lib/hiera license hiera.license license="Apache v2.0" +# force dependency on ruby runtime package to ensure at least one version +# of ruby is installed on the system +depend type=require fmri=pkg:/runtime/ruby diff -r ea57cc1059bf -r fad389ea20c7 components/ruby/hiera/hiera-RUBYVER.p5m --- a/components/ruby/hiera/hiera-RUBYVER.p5m Thu Sep 18 09:47:48 2014 -0700 +++ b/components/ruby/hiera/hiera-RUBYVER.p5m Thu Sep 18 15:01:38 2014 -0600 @@ -213,4 +213,4 @@ # force a dependency on the hiera package depend type=require \ - fmri=library/ruby/hiera@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) + fmri=pkg:/library/ruby/hiera@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) diff -r ea57cc1059bf -r fad389ea20c7 components/ruby/puppet/puppet-GENFRAG.p5m --- a/components/ruby/puppet/puppet-GENFRAG.p5m Thu Sep 18 09:47:48 2014 -0700 +++ b/components/ruby/puppet/puppet-GENFRAG.p5m Thu Sep 18 15:01:38 2014 -0600 @@ -194,3 +194,7 @@ user username=puppet ftpuser=false gcos-field="Puppet Admin" group=puppet \ home-dir=/etc/puppet login-shell=/bin/false uid=40 license puppet.license license="Apache v2.0" + +# force dependency on ruby runtime package to ensure at least one version +# of ruby is installed on the system +depend type=require fmri=pkg:/runtime/ruby diff -r ea57cc1059bf -r fad389ea20c7 components/ruby/puppet/puppet-RUBYVER.p5m --- a/components/ruby/puppet/puppet-RUBYVER.p5m Thu Sep 18 09:47:48 2014 -0700 +++ b/components/ruby/puppet/puppet-RUBYVER.p5m Thu Sep 18 15:01:38 2014 -0600 @@ -1103,9 +1103,9 @@ license puppet.license license="Apache v2.0" # Puppet Dependencies -depend type=require fmri=system/management/facter-$(RUBYV) -depend type=require fmri=library/ruby/hiera-$(RUBYV) +depend type=require fmri=pkg:/system/management/facter-$(RUBYV) +depend type=require fmri=pkg:/library/ruby/hiera-$(RUBYV) # force a dependency on the puppet package depend type=require \ - fmri=system/management/puppet@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) + fmri=pkg:/system/management/puppet@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)