[Puppet Users] puppet-module error with 3.0.2

2013-01-17 Thread Mark Phillips
Hey Folks,

Has anybody seen this when using puppet-module, installed via gem, in puppet
3.0.2 on CentOS 6.3?

[puppet]# puppet-module install puppetlabs-firewall
/usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:254:in `convert': Error 
converting value for param 'config': Could not find value for $confdir 
(Puppet::Settings::InterpolationError)
 from /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:245:in `gsub'
 from /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:245:in `convert'
 from /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:975:in `value'
 from /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:66:in `[]'
 from 
/usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/bin/../lib/puppet/module/tool/cli.rb:15
 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
 from 
/usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/bin/../lib/puppet/module/tool.rb:121
 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
 from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/bin/puppet-module:5
 from /usr/bin/puppet-module:19:in `load'
 from /usr/bin/puppet-module:19

[puppet]# facter puppetversion
3.0.2

[puppet]# rpm -q ruby
ruby-1.8.7.352-7.el6_2.x86_64

Adding confdir to /etc/puppet/puppet.conf makes no difference.

Thanks,

--phips

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] 2.7.14 Solaris packages ready

2012-05-03 Thread Mark Phillips
http://buildfarm.opencsw.org/experimental.html#markp

I've tested them with my setup and they work ok. Just waiting on Dom
Cleal testing them too, then I'll release into the main OpenCSW
catalog.

--Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] 2.7.11 Solaris packages available

2012-02-28 Thread Mark Phillips
Folks,

I've released 2.7.11 for OpenCSW. Should be in the 'unstable' catalog
now.

--Mark

Puppet - https://www.opencsw.org/packages/CSWpuppet
Puppetmaster - https://www.opencsw.org/packages/CSWpuppetmaster

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Facter 1.6.4 package for Solaris

2011-12-15 Thread Mark Phillips
Folks,

I've also rolled Facter 1.6.4 for Solaris as an OpenCSW package[1]. You can get 
it from the 'unstable' catalog now.

Regards,

--Mark

[1] http://www.opencsw.org/packages/facter

-- 
  Mark Phillips
  http://probably.co.uk
  http://vntx.cc

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Puppet 2.7.9 package for Solaris

2011-12-15 Thread Mark Phillips
Folks,

I've rolled 2.7.9 for Solaris as an OpenCSW package[1]. You can get it from the 
'unstable' catalog now.

Regards,

--Mark

[1] http://www.opencsw.org/packages/puppet & 
http://www.opencsw.org/packages/puppetmaster

-- 
  Mark Phillips
  http://probably.co.uk
  http://vntx.cc

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] puppet 2.6.12 for Solaris available at OpenCSW

2011-10-24 Thread Mark Phillips
In my experimental area at the moment - 
http://buildfarm.opencsw.org/experimental.html#markp

It's been submitted to the catalog though.

--Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Community Package Repos for Puppet Labs products

2011-09-30 Thread Mark Phillips
Are you considering Solaris in this initiative too? Puppet, Facter, Augeas
and ruby-augeas are all available from opencsw.org.

I should look at doing mcollective too - when I have time ;-)

On Fri, Sep 30, 2011 at 4:42 PM, Steven L. Seed wrote:

> Thanks. This is much appreciated!
> On Sep 12, 2011 2:36 PM, "Michael Stahnke"  wrote:
> > I've had a vision of having packages for Puppet, Dashboard,
> > mcollective, facter, et al, available in native packaging formats for
> > as many distributions as possible.
> >
> >
> > I've updated http://yum.puppetlabs.com quite a bit today.
> >
> > We have most of what I laid out in ticket
> > http://projects.puppetlabs.com/issues/8473. I've updated RPMs for
> > el5, el6, f14, f15. Next I'll do el4 and then SLES.
> >
> > These RPMS are all signed, and the latest released software from Puppet
> Labs.
> >
> >
> >
> > I've also created a Redmine Project around Community Packaging. My
> > goal would be to get help from the community, specifically on our
> lesser-used
> > platforms.
> >
> >
> > http://projects.puppetlabs.com/projects/puppet-community-pkg-repo
> >
> > Please use the redmine project to open issues, etc. (This isn't just
> > for yum either)
> >
> >
> > Thanks,
> > Mike
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> > To post to this group, send email to puppet-users@googlegroups.com.
> > To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] CSWfacter 1.6.0

2011-07-08 Thread Mark Phillips
Folks,

OpenCSW have released Facter 1.6.0 for Solaris - this includes a back port of 
the patch for issue 7038[1].

It's been released to the current catalog, but for now you can pick it up at 
http://buildfarm.opencsw.org/experimental/html#markp

Regards,

--Mark

[1] http://projects.puppetlabs.com/issues/7038

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Puppet 2.6.9 & 2.7.1 packages for Solaris

2011-06-27 Thread Mark Phillips
On 27 Jun 2011, at 15:01, Andreas Kuntzagk wrote:

> Mark Phillips wrote:
>> I'm not sure what the deal is with sharing the /opt/csw space these days, so
>> I'm afraid I can't comment on whether it will play ball or not. The
>> dependency list isn't so large, so if you've got CSWruby on your machine you
>> may find it all installs correctly. It's your choice I'm afraid Andreas -
>> give it a go?
> 
> I will stall this for now since my prio 1 is setting up puppet on our linux 
> boxes. If later I'm able to config the solaris boxes as well that would be 
> the icing on the cake.

Not a problem. If you have any queries about Puppet on Solaris from the CSW 
packages just drop me a note.

Cheers,

--Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Puppet 2.6.9 & 2.7.1 packages for Solaris

2011-06-24 Thread Mark Phillips
I'm not sure what the deal is with sharing the /opt/csw space these days, so 
I'm afraid I can't comment on whether it will play ball or not. The dependency 
list isn't so large, so if you've got CSWruby on your machine you may find it 
all installs correctly. It's your choice I'm afraid Andreas - give it a go?

Regards,

--Mark

On 24 Jun 2011, at 08:47, Andreas Kuntzagk wrote:

> For whatever reason I'm using the opensource packages from blastwave.
> AFAIU these are not to be mixed with opencsw. So I can't use your packages?
> 
> regards, Andreas
> 
> Mark Phillips wrote:
>> CSW packages in experimental - 
>> http://buildfarm.opencsw.org/experimental.html#markp
>> Both contain Dom Cleal's patched pkgutil[1] provider that supports 
>> 'source'[2] for -t alternative repositories.
>> --Mark
>> [1] 
>> https://github.com/domcleal/puppet/blob/tickets/master/8011/lib/puppet/provider/package/pkgutil.rb
>> [2] http://projects.puppetlabs.com/issues/8011
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Puppet Users" group.
>> To post to this group, send email to puppet-users@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> puppet-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/puppet-users?hl=en.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Puppet 2.6.9 & 2.7.1 packages for Solaris

2011-06-23 Thread Mark Phillips
CSW packages in experimental - 
http://buildfarm.opencsw.org/experimental.html#markp

Both contain Dom Cleal's patched pkgutil[1] provider that supports 'source'[2] 
for -t alternative repositories.

--Mark

[1] 
https://github.com/domcleal/puppet/blob/tickets/master/8011/lib/puppet/provider/package/pkgutil.rb
[2] http://projects.puppetlabs.com/issues/8011

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] ANNOUNCE: Facter 1.5.9 Final!

2011-06-01 Thread Mark Phillips
On 31 May 2011, at 18:19, Mark Phillips wrote:

> On 20 May 2011, at 19:48, Jacob Helwig wrote:
> 
>> Facter 1.5.9 is a maintenance release containing fixes and updates.
>> 
> 
> There's a CSW test release for Solaris at 
> http://buildfarm.opencsw.org/experimental.html#markp
> 
> Once I've had a chance to check it over I'll release it.

Erm, I wouldn't go there yet. It's got a couple of issues that make it a bit of 
a fail on Solaris.

7038
7726


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] ANNOUNCE: Facter 1.5.9 Final!

2011-05-31 Thread Mark Phillips
On 20 May 2011, at 19:48, Jacob Helwig wrote:

> Facter 1.5.9 is a maintenance release containing fixes and updates.
> 
> This release contains several fixes, and updated facts, as well as
> adding some new facts.  These include enhancements with Facter & EC2,
> additional memory facts for OS X, and better Ruby 1.9 support.
> 
> As always, please let us know if you run into any problems with any of
> the release candidates.

There's a CSW test release for Solaris at 
http://buildfarm.opencsw.org/experimental.html#markp

Once I've had a chance to check it over I'll release it.


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] ANNOUNCE: Puppet 2.6.8 final available!

2011-05-17 Thread Mark Phillips
I'm just about to release the OpenCSW Solaris package, but it's in experimental 
anyway:

http://buildfarm.opencsw.org/experimental.html#markp

On 27 Apr 2011, at 22:30, Jacob Helwig wrote:

> This release addresses issues with the Puppet 2.6.x series.
> 
> Bug #4884:
> 
>  Shell exec provider that executes code as a raw shell script
> 
> Bug #5670:
> 
>  Failed resources don't improperly trigger a refresh
> 
> Feature #2331:
> 
>  New macports provider
> 
> You can find the full release notes for Puppet at:
> https://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes
> 
> This release is available for download at:
> http://puppetlabs.com/downloads/puppet/puppet-2.6.8.tar.gz
> 
> See the Verifying Puppet Download section at:
> http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet
> 
> Please report feedback via the Puppet Labs Redmine site, using an
> affected version of 2.6.8:
> http://projects.puppetlabs.com/projects/puppet/
> 
> CHANGELOG:
> 
> 2.6.8
> =
> c1edcb2 add test for ticket 7101
> db26326 Move tests from puppet-acceptance repo
> bee1ef7 Updated CHANGELOG for 2.6.8rc1
> 8b7444d (#2331) Remove darwinports pkg provider, replace with rewritten 
> macports provider
> 65c4e14 Fixed #7082 - Added system support for groups
> b7f4ff7 (#7018) Give more context on the service type's assumptions. Wording 
> tweaks.
> bb19dea (#7018) explain internals better in service provider documentation
> 23c9663 maint: Fix sqlite3 require to really be optional
> 4b73d41 maint: Fix sporadic sqlite error
> 54b9f5d (#6818) Stop from getting Rails 3 named_scope deprecation warning
> e493f8a (#6856) Copy dangling symlinks with 'links => manage' File resource.
> 1e4968e (maint) Indentation fixes
> 99d78f2 (#6490) Add plugin initialization callback system to core
> 5d1cb02 Fix #4339 - Locally save the last report to $lastrunreport
> 306aa30 Fix #4339 - Save a last run report summary to 
> $statedir/last_run_summary.yaml
> 9bb3018 Fixed #3127 - removed legacy debug code
> d2bacd3 Fixed #3127 - Fixed gem selection regex
> 1b66c28 (#5437) Invalidate cached TypeCollection when there was an error 
> parsing
> 0675c9a (#6937) Adjust formatting of recurse's desc
> 2cdadf9 (#6937) Document the recurse parameter of File type.
> 647a640 (#6893) Document the cron type in the case of specials.
> 87ca313 (#5670) Don't trigger refresh from a failed resource
> f5aabf5 (#5908) Add support for new update-rc.d disable API
> 37f9ca0 (#6862) Add a default subject for the mail_patches rake task
> 9a4de12 Fixed #6256 - Creation of rrd directory.
> 7c60db5 (#5477) Allow watch_file to watch non-existent files, especially 
> site.pp
> 7761acb (#5221) Add test for fix to fileset with trailing separator
> 357514c (#5221) Fix fileset path absoluteness checking with trailing slash
> f8941b8 (#4769) Fix negative timeout support for newer rubies
> a29c7fd Fixed #6562 - Minor kick documentation fix
> df20513 (#6658) Propagate ENC connection errors to the agent
> 08115c0 (#4884) Remove typo from spec test
> f2c771b (#4884) Modify tests to pass on non-OS X systems
> ec1aa19 (#4884) Revise new exec tests, add a few more
> 196294a (4576) - if ENC declares invalid class, it is logged at warning.
> 0d2d6f3 (#4884) Add an shell provider for execs
> d2e911a (#4884) Fix Test::Unit exec tests
> fa0cfc6 (#4884) Break the exec type out to have a posix provider
> c86a980 (#4884) Add consistent path validation and behavior
> 77fbf7f (#4884) Add expand_path to requiring the spec_helper
> 7ec9057 (#4884) Autorequire shared behaviors and method to silence warnings
> acc99ba (#4884) Fix whitespace
> 6a4d291 (#4884) Get rid of open3 require since it wasn't being used
> 3e7ebbb Fixed #6554 - Missing $haveftool if/else conditional in install.rb 
> breaking Ruby 1.9
> fddc165 (#5814) Improved cron type specs
> f2dfee6 (#5814) cron_spec shouldn't depend on cron provider
> 
> -- 
> Jacob Helwig

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet 2.6.7 final!

2011-03-27 Thread Mark Phillips
On 25 Mar 2011, at 05:02, John Warburton wrote:

> On 25 March 2011 11:42, Nigel Kersten  wrote:
> On Thu, Mar 24, 2011 at 5:10 PM, Thomas S Hatch  wrote:
> These accelerated releases are going to keep us on our toes!
> This is the downside of monthly releases, particularly when we have an extra, 
> out of cycle release like we did for 2.6.6.
> 
>  Also an issue for those of us that don't run mainstream (Solaris :-) systems 
> where edge case changes may not be tested. I haven't had time in th epast 
> weeks to test the release candidates, but downloaded 2.6.7 just now and found 
> massive changes in the mount provider failing on /tmp. Bug to be filed

FYI John, I'll be aiming to keep the CSWpuppet packages up to date now. Testing 
versions can be found at http://buildfarm.opencsw.org/experimental.html#markp - 
released versions usually hit the catalog shortly after testing.

--Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] State of the pkgutil provider?

2011-03-17 Thread Mark Phillips
On 17 Mar 2011, at 05:42, James Turnbull wrote:

> Dominic Cleal wrote:
>> Nobody has been looking at it, it would be great if you and Mark want to
>> and I'd be happy to help.  I haven't even seen any examples of pkgutil
>> catalogs with multiple versions, so it'd be good to check it copes
>> properly in its current form too.  (Unit tests!)
>> 
>> I think it's best to first collect some evidence about the output format
>> of pkgutil with multiple versions and what's possible compared to say
>> yum, then work out how to integrate that into the provider.
>> 
> 
> And tests.  Tests are always awesome. :)

And on that subject James, do Puppetlabs have any recommendations for 
testing - types of evidence, frameworks, etc. My only experience is Perl
Test::More and the likes, if you've any tips on what we could produce for
Puppet/Ruby that'd be great.

Thanks,

--Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] State of the pkgutil provider?

2011-03-15 Thread Mark Phillips
On 14 Mar 2011, at 22:52, Jonathan wrote:

> Hi all,
> 
> Just wondering if anyone knows if work is still being done on this
> provider.
> 
> At present, one is not able to ensure that a particular version is
> installed and this is crucial for a job that I need to do.  Last
> activity on this seems to have been in late 2010.

Hi Jonathan,

I've just released 2.6.6 for OpenCSW and it includes pkgutil.rb as it stood 
last week - 
https://github.com/gw42/puppet/blob/tickets%2Fmaster%2F4258-dev/lib/puppet/provider/package/pkgutil.rb
 It appears Juerg Walz is maintaining this at the moment. I haven't tried the 
latest pkgutil provider, so I couldn't tell you if it supports versions. I'll 
be attempting to look at it later today.

Sorry if that's not a tremendous amount of use.

Regards,

--Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Re: Puppet 2.6 on Solaris

2011-03-14 Thread Mark Phillips
Released David. Should be in the catalog soon.

http://probably.co.uk/cswpuppet-2-6-6-released.html

On Mar 13, 5:33 pm, Mark Phillips  wrote:
> On 13 Mar 2011, at 13:48, Maciej Bliziński wrote:
>
>
>
>
>
>
>
>
>
> > Hi David,
>
> > On Jan 31, 9:06 am, David Schmitt  wrote:
> >> I'm looking for current puppet packages for Solaris and found only
> >> blastwave (0.25.5), opencsw (http://www.opencsw.org/packages/CSWpuppet/,
> >> 0.25.4) and Gary Law's repo (http://garylaw.net/packages/, 0.25.1).
>
> >> Are there any current (2.6.x) packages for Solaris?
>
> > There are puppet-2.6.6 packages available in OpenCSW experimental
> > area:
>
> >http://buildfarm.opencsw.org/experimental.html#markp
>
> > If you have any questions or comments about the package, please e-mail
> > markp@.
>
> And I'm just about to test them again and release for the 'current' catalog.
>
> If you're testing them David some feedback would be great, thanks.
>
> --Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Re: Puppet 2.6 on Solaris

2011-03-13 Thread Mark Phillips
On 13 Mar 2011, at 13:48, Maciej Bliziński wrote:

> Hi David,
> 
> On Jan 31, 9:06 am, David Schmitt  wrote:
>> I'm looking for current puppet packages for Solaris and found only
>> blastwave (0.25.5), opencsw (http://www.opencsw.org/packages/CSWpuppet/,
>> 0.25.4) and Gary Law's repo (http://garylaw.net/packages/, 0.25.1).
>> 
>> Are there any current (2.6.x) packages for Solaris?
> 
> There are puppet-2.6.6 packages available in OpenCSW experimental
> area:
> 
> http://buildfarm.opencsw.org/experimental.html#markp
> 
> If you have any questions or comments about the package, please e-mail
> markp@.

And I'm just about to test them again and release for the 'current' catalog.

If you're testing them David some feedback would be great, thanks.

--Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Variables, extlookup and inheritance from includes

2011-03-11 Thread Mark Phillips
On 11 Mar 2011, at 14:39, Felix Frank wrote:

> A sane approach here might be the following:
> 
> class motd::motd($os,$region) {
>  file "/etc/motd":
> owner => root, group => sys, mode => 0644,
> content => template("motd/motd.$operatingsystem.erb"),
>  }
> }
> 
> Then instantiate the motd::motd class from wherever you want with the
> appropriate info. I hope you'll manage to save yourself from the messy
> include something::$somefact, but if you're not as cowardly as me, you
> may as well keep using them.

Thanks Felix. I realised the error of my ways shortly after posting. What
I'm trying to do, probably wrongly, is set up some 'globals' so I don't have
to keep calling them. This might not be all that clever though.

Cheers for your thoughts though, it's appreciated.

--Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet 2.6.6 available!

2011-03-10 Thread Mark Phillips
On Mar 10, 8:26 am, Mark Phillips  wrote:
>
> http://buildfarm.opencsw.org/experimental.html#markp

Version up now contains latest pkgutil provider from
https://github.com/gw42/puppet/blob/tickets%2Fmaster%2F4258-dev/lib/puppet/provider/package/pkgutil.rb
and this bug fix from Dom Cleal https://projects.puppetlabs.com/issues/6324

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet 2.6.6 available!

2011-03-10 Thread Mark Phillips
On 10 Mar 2011, at 04:24, Todd Zullinger wrote:

> Jacob Helwig wrote:
>> This maintenance release fixes two issues with Puppet 2.6.5.
> 
> For those using Fedora or RHEL/CentOS, I've updated the yum repos at:
> 
>http://tmz.fedorapeople.org/repo/puppet/

I'll pop a test 2.6.6 for OpenCSW up later. If anybody is still smashing their 
head on Solaris and would like to test please, that'd be great.

http://buildfarm.opencsw.org/experimental.html#markp


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Variables, extlookup and inheritance from includes

2011-03-09 Thread Mark Phillips
Hi all,

I've been testing something today that I can't get to play ball the
way I'd like. Here's the setup:

site.pp
import "nodes"
$extlookup_datadir = "/etc/puppet/envs/poc/extdata"
$extlookup_precedence = ["%{fqdn}", "common"]

nodes.pp
class core {
include hostinfo
include motd
}

hostinfo module, init.pp
class hostinfo {
$os = extlookup("os")
$region = extlookup("region")
}

module motd, init.pp
class motd  {
include "motd::$operatingsystem"
}

class motd::common {
file { "/etc/motd":
owner => root, group => sys, mode => 0644,
content => template("motd/motd.erb"),
}
}

module motd, redhat.pp
class motd::redhat inherits motd::common {}

External data CSV:
testhost:extdata$ egrep '^(os|region)' testhost.domain.com.csv
os,core-redhat-5.5.1.19-11-10.x86_64
region,eu

Originally the hostinfo module was laid out in the same way we do all
the modules, i.e. init.pp has parent class which 'includes' class::
$operatingsystem and a class::common {} , then $operatingsystem.pp has
'class blah::redhat inherits blah::common'. But in the early part of
the problem I realised the OS layout for 'hostinfo' was bogus, and
dropped it for simplification.

$os and $region were constantly failing to be found, but if I took the
extlookup statements and copy n' pasted, verbatim, into the motd
module itself, it worked. So then I tried a run stage to see if I
could ensure hostinfo was imported before anything else. This was
placed in site.pp:

stage { "initialise": before => Stage[main] }
class { "hostinfo": stage => "initialise"; }

This is the first time I've messed with run stages, so I'm not 100% I
got that right. It ran, and with puppet master --no-daemonize --debug
I could see it being imported. So that was a good start in my mind.
$os and $region still failed to be found though.

So, I cut hostinfo out of nodes.pp, and put 'inherits hostinfo' into
'class motd'; this worked fine, the variables were found as I'd like.

How come it doesn't work with run stages, or includes? Am I missing
something fundamental here?

Thanks

--Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Odd behaviour in extlookup; include & inherit of variables

2011-03-09 Thread Mark Phillips
Hi all,

I've been testing something today that I can't get to play ball the
way I'd like. Here's the setup:

site.pp
import "nodes"
$extlookup_datadir = "/etc/puppet/envs/poc/extdata"
$extlookup_precedence = ["%{fqdn}", "common"]

nodes.pp
class core {
include hostinfo
include motd
}

hostinfo module, init.pp
class hostinfo {
$os = extlookup("os")
$region = extlookup("region")
}

module motd, init.pp
class motd  {
include "motd::$operatingsystem"
}

class motd::common {
file { "/etc/motd":
owner => root, group => sys, mode => 0644,
content => template("motd/motd.erb"),
}
}

module motd, redhat.pp
class motd::redhat inherits motd::common {}

External data CSV:
testhost:extdata$ egrep '^(os|region)' testhost.domain.com.csv
os,core-redhat-5.5.1.19-11-10.x86_64
region,eu

Originally the hostinfo module was laid out in the same way we do all
the modules, i.e. init.pp has parent class which 'includes' class::
$operatingsystem and a class::common {} , then $operatingsystem.pp has
'class blah::redhat inherits blah::common'. But in the early part of
the problem I realised the OS layout for 'hostinfo' was bogus, and
dropped it for simplification.

$os and $region were constantly failing to be found, but if I took the
extlookup statements and copy n' pasted, verbatim, into the motd
module itself, it worked. So then I tried a run stage to see if I
could ensure hostinfo was imported before anything else. This was
placed in site.pp:

stage { "initialise": before => Stage[main] }
class { "hostinfo": stage => "initialise"; }

This is the first time I've messed with run stages, so I'm not 100% I
got that right. It ran, and with puppet master --no-daemonize --debug
I could see it being imported. So that was a good start in my mind.
$os and $region still failed to be found though.

So, I cut hostinfo out of nodes.pp, and put 'inherits hostinfo' into
'class motd'; this worked fine, the variables were found as I'd like.

How come it doesn't work with run stages, or includes? Am I missing
something fundamental here?

Thanks

--Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.