Re: [Puppet Users] problem with fund service

2011-12-08 Thread Jacob Helwig
;t running, puppet doesn't start it. I checked the funcd service > script and it looks correct (if you do "service funcd status" it returns > "funcd is not running" and the exit status is 3). Any ideas? > What distro are you on? Is funcd an upstart script?

Re: [Puppet Users] how to link items together -- all happen together?

2011-12-08 Thread Jacob Helwig
ensure => file, source => 'puppet:///module/foo/foo.conf', require => Package['foo'], } service { 'foo': ensure => running, subscribe => File['/etc/foo/foo.conf'], Package['foo'], } Both subscribe and require will setup or

Re: [Puppet Users] template does not print variables

2011-11-29 Thread Jacob Helwig
> > thanks in advance > tim You need to tell Puppet that it's actually a template, not a raw file. Try something like this? file { "/etc/motd": group => 'root', owner => 'root', mode => '440', content => template("motd.erb"), } -- Jacob Helwig http://about.me/jhelwig signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] puppetlabs-firewall: source param as array

2011-11-29 Thread Jacob Helwig
itten to handle accepting arrays in the source property, so given how it's written it's expected behavior, though sounds like it's rather undesirable. -- Jacob Helwig http://about.me/jhelwig signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Puppet Windows: scheduled_task : TypeError

2011-11-23 Thread Jacob Helwig
On 2011-11-23 15:53 , Mohamed Lrhazi wrote: > Thanks JacobDid that answer my TypeError as well? No, a stack trace would help for that. -- Jacob Helwig http://about.me/jhelwig > > Mohamed. > > On Wed, Nov 23, 2011 at 5:28 PM, Jacob Helwig wrote: >> On 2011-11-23 1

Re: [Puppet Users] Puppet Windows: scheduled_task : TypeError

2011-11-23 Thread Jacob Helwig
titions at resolutions more fine grained than the daily level isn't possible, without creating multiple triggers to create the within a day repetition manually. If you know of a good Ruby interface to the newer Task Scheduler APIs, which support this, then it would be possible for someone to write another provider that supported this. -- Jacob Helwig http://about.me/jhelwig signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] is_virtual fact

2011-11-23 Thread Jacob Helwig
'{md5}a882618adcb31667cbab22731f8f16e2' > > Any ideas what is wrong here? > > Thanks for the help! > > -matt zagrabelny > Facter facts are all strings, not true booleans. You'll need to check for whether or not $is_virtual == 'true'. -- Jacob Helwig http://about.me/jhelwig signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Puppet Windows: msi packages removal

2011-11-22 Thread Jacob Helwig
we would need to do. I don't know whether or not a 'creates' parameter would end up being more problematic or not, but I certainly welcome discussion from people who are actually doing real systems management using Puppet on Windows. -- Jacob Helwig http://about.me/jhelwig signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] struggling with vcsrepo, git, latest

2011-11-21 Thread Jacob Helwig
; than the remote. > > ideas? > Unfortunately, last I checked the vcsrepo type was just broken when it comes to what it does with Git repos. I started trying to clean it up in my spare time[0], but don't have anything actually ready to merge back into the main repo yet. [0] https://github.com/jhelwig/puppet-vcsrepo/tree/rework-git-provider -- Jacob Helwig http://about.me/jhelwig signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Installing puppet agent on Windows XP

2011-11-21 Thread Jacob Helwig
n't clearly call out which platforms are currently supported, we'll need to update the instructions. -- Jacob Helwig http://about.me/jhelwig signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Puppet not picking up new configs

2011-11-21 Thread Jacob Helwig
o to prevent this > from happening again and again? > > Thanks! > > Michal > > > Pretty sure you're just running into the "normal" behavior of the caching that puppet does: Since puppet caches successfully compiled files until it notices that they've cha

Re: [Puppet Users] puppet agent 2.7 on windows

2011-11-18 Thread Jacob Helwig
e to put the output of 'puppet agent --genconfig' into the file output by 'puppet agent --configprint config', and modifying to taste. The 'puppet config print all' is getting the settings from the internal defaults of Puppet itself, so it's not really fetching them from anywhere. -- Jacob Helwig http://about.me/jhelwig signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Using regex to ensure package version

2011-11-18 Thread Jacob Helwig
le have handled this is by ensuring 'latest', but managing the repository that the machine will pull the packages from so that it will only ever contain something in the 1.2.3 series. -- Jacob Helwig http://about.me/jhelwig signature.asc Description: OpenPGP digital signature

[Puppet Users] Open Source Team update 2011-11-17

2011-11-17 Thread Jacob Helwig
ionality * #3910 - Server is not authoritative over client environment when specified in an ENC * #3534 - Dashboard should support ability to set variables as arrays in the ENC * #2247 - enablerepo and disablerepo for yum type -- Jacob Helwig http://about.me/jhelwig signatu

Re: [Puppet Users] Rounding in variable expressions

2011-11-15 Thread Jacob Helwig
e function called 'floor'. There should be a bunch of good examples of how to do this in the stdlib[0] repo in lib/puppet/parser/functions. [0] https://github.com/puppetlabs/puppetlabs-stdlib/ -- Jacob Helwig http://about.me/jhelwig signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Starting out with puppet and capistrano

2011-11-09 Thread Jacob Helwig
, and let Puppet take care of it. -- Jacob Helwig http://about.me/jhelwig signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Starting out with puppet and capistrano

2011-11-09 Thread Jacob Helwig
sk that updates the code and fixes the symlink. DESC task :default do transaction do update_code symlink end end task :update_code, :except => { :no_release => true } do on_rollback { run "rm -rf #{release_path}; true" } strategy.deploy! end after :deploy, 'deploy:cleanup' end -- Jacob Helwig http://about.me/jhelwig signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] WinXP Agent SSL issue/Increase TLS timeout on Puppet Master?

2011-11-09 Thread Jacob Helwig
27;re running into #4762[0], which was fixed in 2.7.3. Also, you should be running a version of the master that is >= the version of your newest agent. [0] http://projects.puppetlabs.com/issues/4762 -- Jacob Helwig http://about.me/jhelwig signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] puppet facter timeout

2011-11-07 Thread Jacob Helwig
x27;m sure thats > the facter problem ;) > > And there is no problem with dns, all other servers with the same > version of facter and puppet have no problems... The only thing I did > on this server is an upgrade with apt-get, but facter and puppet are > the same version as they are on the other servers > > > Thanks for your help > You'll want to keep an eye on the Ubuntu bug for this[0]. [0] https://bugs.launchpad.net/ubuntu/+source/facter/+bug/885998 -- Jacob Helwig http://about.me/jhelwig signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] upgrade puppet Ubuntu 10.04

2011-11-03 Thread Jacob Helwig
ast which version of Ubuntu you're using). [0] https://bugs.launchpad.net/ubuntu/+source/facter [1] https://bugs.launchpad.net/ubuntu/+source/puppet [2] https://lists.ubuntu.com/mailman/listinfo/ubuntu-server [3] https://bugs.launchpad.net/ubuntu/lucid/+source/facter/+bug/876130 [4] https://bugs.l

Re: [Puppet Users] 2.7.6 yumrepo not working

2011-11-01 Thread Jacob Helwig
shness I > was overlooking normal variable semantic (like in shell). Strange thing > my prior setup worked fine in 2.6, 2.7 broke it. > > -Chris > > > On Tue, Nov 1, 2011 at 12:40 PM, Jacob Helwig <mailto:ja...@puppetlabs.com>> wrote: > > It's the &q

Re: [Puppet Users] 2.7.6 yumrepo not working

2011-11-01 Thread Jacob Helwig
It's the "dashes at the end of variable names" problem. Try "...${operatingsystem}-${operatingsystemrelease}-${architecture}" instead. On 2011-11-01 09:07 , Len Rugen wrote: > You probably need to escape some of this, part of ours- > .repo/\$releasever/\$basearch > > puppet/factor shouldn't

Re: [Puppet Users] Passing a variable to exec?

2011-10-20 Thread Jacob Helwig
Change your single quotes to double quotes and it should just work. On Thu, Oct 20, 2011 at 16:42, Parker Johnson wrote: > > I am trying to grow a logical volume on AIX depending on the size of > the running kernel. I've got all of the custom facts setup. Now I > just need to exec on that vari

Re: [Puppet Users] Type reference, Puppet versions

2011-10-14 Thread Jacob Helwig
I think he wants something more along the lines of the "since" sections you can create with newer versions of YARD when documenting methods. For for example: http://rubydoc.info/gems/octocat_herder/0.1.1/OctocatHerder/PullRequest#diff_text-instance_method -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] Re: Problem with custom function returning array

2011-10-13 Thread Jacob Helwig
Did you topo part of the function definition, or does it actually have 'returnsources' at the end of the newfunction block? You should have 'return sources', 'sources', or just leave that bit off, since 'sources << "puppet:///files/common/#{filename}&

Re: [Puppet Users] how to check if a hash/array is empty or not in puppet .pp/module (not in template)?

2011-10-13 Thread Jacob Helwig
ctions or inline templates. I definitely recommend going the function route, since it's much easier to write tests for those, and your manifests end up looking much cleaner. http://docs.puppetlabs.com/guides/custom_functions.html -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] file server not right directory?

2011-10-12 Thread Jacob Helwig
t; > > } > ------- > > > It looks like it does indeed try to create the my.cnf file before mysql gets > installed. How can i rectify that > > Thanks!! > You'll need to add a 'require => ...' to the /etc/mysql/my.cnf file resource. Either to another file resource that creates /etc/mysql, or to the mysql-server package resource. File resources don't automatically create the parent directories of the things they manage. -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] file server not right directory?

2011-10-12 Thread Jacob Helwig
file or directory - /etc/mysql/my.cnf.puppettmp_9888 at /etc/puppet/ > modules/mysql-server/manifests/init.pp:15 > > > > i tried setting source => "puppet:///modules/mysql-server/files/ > my.cnf", > > > But that did not make a difference. Please help. > Does /etc/mysql exist on the client machine? -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] Python yaml help

2011-10-12 Thread Jacob Helwig
On Wed, 12 Oct 2011 17:13:36 -0400, Mohamed Lrhazi wrote: > > On Wed, Oct 12, 2011 at 5:04 PM, Jacob Helwig wrote: > > On Wed, 12 Oct 2011 11:01:28 -0400, Mohamed Lrhazi wrote: > >> > >> Sorry for being off topic. am trying the following and yaml fails to > >&

Re: [Puppet Users] Python yaml help

2011-10-12 Thread Jacob Helwig
;, line 1, column 5 > > > Thanks a lot, > Mohamed. > Hm. Looks like you're doing exactly what was suggested in a couple of older threads[0][1] about exactly this kind of issue. Could it be a loading issue where your class isn't actually getting loaded? [0] https

Re: [Puppet Users] Issues switching over to using environments

2011-10-11 Thread Jacob Helwig
the module, then you'd have the layout as /etc/puppet/prod/modules/generic_node/files/etc/ssh/sshd_config and the source line as puppet://lou1/modules/generic_node/etc/ssh/sshd_config -- Jacob Helwig On Tue, 11 Oct 2011 15:26:16 -0400, Deven Phillips wrote: > Date: Tue, 11 Oct 2011 15:

[Puppet Users] Open Source Team iteration & planning summary 2011-10-07

2011-10-07 Thread Jacob Helwig
deliver new functionality * #3910 - Server is not authoritative over client environment when specified in an ENC * #3534 - Dashboard should support ability to set variables as arrays in the ENC * #2247 - enablerepo and disablerepo for yum type -- Jacob Helwig signature.asc Description: Digital signature

[Puppet Users] Announcing a new committer, plans for adding committers, and new mailing list.

2011-09-21 Thread Jacob Helwig
rs, but anyone is welcome to subscribe and post to this list. [1] https://groups.google.com/group/puppet-ci [2] https://jenkins.puppetlabs.com -- Jacob Helwig , | Join us for PuppetConf, September 22nd and 23rd in Portland, OR | http://bit.ly/puppetconfsig ` signature.asc Description: Digital signature

Re: [Puppet Users] Review of new type & provider

2011-09-21 Thread Jacob Helwig
#x27;s available to ruby when you run the tests. I've been achieving this by running the tests with the following: RUBYLIB=`pwd`/../puppet/lib:`pwd`/../facter/lib rspec spec We should really go back and create a README with this info for the split mount type repo. [1] https://git

[Puppet Users] Open Source Team iteration & planning summary 2011-09-19

2011-09-19 Thread Jacob Helwig
ocumentation * #7316 - puppet applications delivered via pluginsync don't work. * #5517 - Overriding parameters on included & inherited classes * #3741 - Custom facts loaded multiple times * #4916 - Plugins should not be able to override core functionality. -- Jacob Helwig ,

[Puppet Users] Open Source Team iteration & planning summary 2011-09-12

2011-09-12 Thread Jacob Helwig
1 - Custom facts loaded multiple times * #4916 - Plugins should not be able to override core functionality. -- Jacob Helwig , | Join us for PuppetConf, September 22nd and 23rd in Portland, OR | http://bit.ly/puppetconfsig ` signature.asc Description: Digital signature

Re: [Puppet Users] Using Puppet to reset admin passwords on Windows

2011-09-07 Thread Jacob Helwig
ers, though we're still looking for a good way to do this that doesn't require specifying the password in plain-text in the Puppet manifest. -- Jacob Helwig , | Join us for PuppetConf, September 22nd and 23rd in Portland, OR | http://bit.ly/puppetconfsig ` signature.asc Description: Digital signature

Re: [Puppet Users] What came first, the user or the group?

2011-09-01 Thread Jacob Helwig
o go from the bottom up, and when applying resources that are destroying/removing, you need to go from the top down. It's currently listed as the "Above/below relationships" item in the Open Source Team's roadmap[1]. [1] http://projects.puppetlabs.com/projects/puppet/wiki/Road_map

[Puppet Users] Open Source Team iteration & planning summary 2011-08-26

2011-08-26 Thread Jacob Helwig
27;t work. * #5517 - Overriding parameters on included & inherited classes * #3741 - Custom facts loaded multiple times * #4916 - Plugins should not be able to override core functionality. -- Jacob Helwig , | Join us for PuppetConf, September 22nd and 23rd in Portland, OR | htt

Re: [Puppet Users] Circular RPM dependencies...

2011-08-25 Thread Jacob Helwig
> But if some package requires some of the "absent" pacakges, what happens > then? > > I would expect Puppet to end up installing and uninstalling packages every run, since it has no knowledge of the package dependencies. -- Jacob Helwig , | Join us for PuppetConf, September 22nd and 23rd in Portland, OR | http://bit.ly/puppetconfsig ` signature.asc Description: Digital signature

Re: [Puppet Users] dashboard 1.1.1 with filebucket doesn't show contents of the new file

2011-08-22 Thread Jacob Helwig
passenger (3.0.8) helper-scripts/passenger-spawn-server:99 > > > Rendering /usr/share/puppet-dashboard/public/500.html (500 Internal > Server Error) > > > Is this because the new file is not in the filebucket yet? > any ideas anyone? > > Stefan > You are correct: It is because the new file is not yet in the filebucket. With what is currently the most common usage of Puppet & Dashboard, the "new" files will never be in the filebucket. You might want to have a look at #7934[1], which is a ticket around this. The "new" file's md5 will no longer be linked once this gets released. [1] https://projects.puppetlabs.com/issues/7934 -- Jacob Helwig , | Join us for PuppetConf, September 22nd and 23rd in Portland, OR | http://bit.ly/puppetconfsig ` signature.asc Description: Digital signature

[Puppet Users] Open Source Team iteration & planning summary 2011-08-19

2011-08-19 Thread Jacob Helwig
ithub.com/puppetlabs/puppet-dashboard/pull/16 -- Jacob Helwig , | Join us for PuppetConf, September 22nd and 23rd in Portland, OR | http://bit.ly/puppetconfsig ` signature.asc Description: Digital signature

Re: [Puppet Users] ANNOUNCE: Puppet 2.7.3

2011-08-16 Thread Jacob Helwig
It's not just you. Unfortunately, it's down right now. Seems to be a hosting issue, so hopefully they'll get things sorted out quickly. On Tue, Aug 16, 2011 at 16:16, David L Ballenger wrote: > Okay, I'll file a bug report on this later today. I seem to be having > problems contacting the bug

[Puppet Users] Open Source Team iteration & planning summary 2011-08-14

2011-08-14 Thread Jacob Helwig
luginsync don't work. * #5517 - Overriding parameters on included & inherited classes -- Jacob Helwig , | Join us for PuppetConf, September 22nd and 23rd in Portland, OR | http://bit.ly/puppetconfsig ` signature.asc Description: Digital signature

[Puppet Users] Open Source Team iteration & planning summary 2011-07-27

2011-07-27 Thread Jacob Helwig
r Windows * #8411 - File type working on Windows * #8412 - MSI package provider for Windows * #8413 - Ability to run Puppet as an agent on Windows [1] http://projects.puppetlabs.com/issues/8272#note-6 -- Jacob Helwig , | Join us for PuppetConf, September 22nd and 23rd in Portland, OR | http://bit.ly/puppetconfsig ` signature.asc Description: Digital signature

Re: [Puppet Users] Upgrading 0.25.5 to 2.7.1

2011-07-27 Thread Jacob Helwig
unds like you have a new server with 2.7.1, in addition to your old server. Did you copy over the master certificates to the new 2.7.1 master from the old one? If the new 2.7.1 master had generated a new certificate, I would expect to get the errors you're seeing. -- Jacob Helwig , | J

Re: [Puppet Users] Puppet/facter and update reporting

2011-07-23 Thread Jacob Helwig
> Thanks in advance. > > Best, > Khoury > Sounds like you want the collection functionality that you get with MCollective. I'm afraid I haven't played around with it as much as I'd like, but I'm sure others can chime in with details. -- Jacob Helwig

[Puppet Users] So, what happened to the "old" Open Source Team backlog anyway?

2011-07-22 Thread Jacob Helwig
should allow rubygems to deliver new functionality * #3910 - Server is not authoritative over client environment when specified in an ENC * #2247 - enablerepo and disablerepo for yum type * #3534 - Dashboard should support ability to set variables as arrays in the EN

Re: [Puppet Users] tolower()??

2011-07-21 Thread Jacob Helwig
can use this: > > https://github.com/puppetlabs/puppetlabs-functions/blob/master/lib/puppet/parser/functions/downcase.rb > > Nan > So, why don't we have downcase in core Puppet? :-\ -- Jacob Helwig , | Join us for PuppetConf, September 22nd and 23rd in Portland, OR | http:

Re: [Puppet Users] tolower()??

2011-07-21 Thread Jacob Helwig
ate("<%= hostname.upcase %>") } This was only tested against the current master branch of Puppet, so your mileage may vary. -- Jacob Helwig , | Join us for PuppetConf, September 22nd and 23rd in Portland, OR | http://bit.ly/puppetconfsig ` signature.asc Description: Digital signature

[Puppet Users] Open Source Team iteration & planning summary 2011-07-20

2011-07-21 Thread Jacob Helwig
provider for Windows * #8413 - Ability to run Puppet as an agent on Windows [1] https://github.com/ChaseMotorman/puppet/tree/win32-discovery -- Jacob Helwig , | Join us for PuppetConf, September 22nd and 23rd in Portland, OR | http://bit.ly/puppetconfsig ` signature.asc Description: Digital signature

Re: [Puppet Users] Re: Puppet 2.6.x fate

2011-07-14 Thread Jacob Helwig
the appropriate project. There isn't really much "process" around it. We appreciate if you check for a pre-existing ticket before filing a new one, but it's not like we'll get angry if you don't spot that it's duplicate. [1] https://projects.puppetlabs.com/

[Puppet Users] Open Source Team iteration & planning summary 2011-07-13

2011-07-13 Thread Jacob Helwig
Hat Spec file in 2.7.2rc1 isn't quite right * #8408 - Local user provider for Windows * #8409 - Local group provider for Windows * #8410 - Exec provider for Windows * #8411 - File type working on Windows * #8412 - MSI package provider for Windows * #8413 - Ability to ru

Re: [Puppet Users] Run this only once!!

2011-07-12 Thread Jacob Helwig
fine I return this once it runs "notice: > //Package[Bindscript20100601.pkg.dmg]/ensure: created" > > So it will only run once on the machine? > Correct. As long as the file that Nigel pointed out remains there, it won't try to install the .dmg again. -- Jacob Helwi

Re: [Puppet Users] Run this only once!!

2011-07-12 Thread Jacob Helwig
working for you? package { 'Bindscript20100601.dmg': provider => pkgdmg, ensure => installed, source => 'temp/location/rightnow/Bindscript20100601.dmg', } -- Jacob Helwig , | Join us for PuppetConf, September 22nd and 23rd in Portland, OR | http://bit.ly/puppetconfsig ` signature.asc Description: Digital signature

Re: [Puppet Users] Possible bug? Can't remove and then put back a file?

2011-07-12 Thread Jacob Helwig
Well, it turns out that it's definitely a puppet bug. The streaming checksumming that's used doesn't actually only look at the first 512 characters like the static checksumming that's used for verifying the file on disk does. http://projects.puppetlabs.com/issues/8385 --

Re: [Puppet Users] Possible bug? Can't remove and then put back a file?

2011-07-12 Thread Jacob Helwig
ems with the filesystem on the agent. If you have direct access to the jetty-distribution-7.4.2.v20110526.tar.gz from your emb module, could you run the following ruby script to get what its md5lite checksum is? #!/usr/bin/env ruby require 'digest/md5' path_to_jetty_di

Re: [Puppet Users] Re: all classes applied to every node

2011-07-12 Thread Jacob Helwig
Zach wrote: You guys got me on the right track... Turns out I was running into this: "One of THE MOST DIFFICULT concepts to understand for puppet newbies is that these two things are identical: include foo class { 'foo': }" In my case, I was declaring things like: class { "nagios::webserver":

Re: [Puppet Users] Bizarre errors from puppetmaster 2.7.1

2011-07-10 Thread Jacob Helwig
That does look an awful lot like the storedconfig bug (#4487). The fix prevented this from happening on new records, and would prevent further YAML encapsulation of existing rows, but the existing (broken) rows still needed to be cleaned up by hand. -- Please excuse my brevity; sent from my m

Re: [Puppet Users] Re: add lines to /etc/hosts on client

2011-07-08 Thread Jacob Helwig
> 0600, > source => "puppet:///modules/haproxy/haroxy", Got a typo in the source URI here. Should be 'haproxy', instead of 'haroxy' at the end. -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] Rack issue with puppet-dashboard

2011-07-07 Thread Jacob Helwig
onfigure): > subprocess installed post-installation script returned error exit status 1 > Errors were encountered while processing: > puppet-dashboard > E: Sub-process /usr/bin/dpkg returned an error code (1) > Looks like you've got the wrong version of rack installed. It&#x

[Puppet Users] Open Source Team iteration & planning summary 2011-07-06

2011-07-07 Thread Jacob Helwig
ppet service to find an applicable server. If Puppet is unable to connect to any of the servers specified in the SRV records, then it will attempt to connect to the "normal" servers settable via puppet.conf. [1] https://github.com/jhelwig/puppet/tree/ticket/maste

Re: [Puppet Users] Puppet Dashboard without MySQL

2011-06-27 Thread Jacob Helwig
o get away with using something else, as long as you don't mind certain pages blowing up. I haven't actually tried this though, and I'm fairly certain that the main page is one of the ones that will blow up. -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] Turn off client autoupdate

2011-06-24 Thread Jacob Helwig
ere appears to be a bug with the agent that makes "client=false" not actually work, but ("--no-client" on the command line does work). :-/ [1] http://projects.puppetlabs.com/issues/4411 [2] http://projects.puppetlabs.com/issues/3313 -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] confused about file ensure/require

2011-06-20 Thread Jacob Helwig
d-4982-9eb0-4c5d09d2e...@ttiltd.com> > > > On Jun 20, 2011, at 2:35 PM, Jacob Helwig wrote: > > > On Mon, 20 Jun 2011 14:17:46 -0700, Craig White wrote: > >> > >> my base/default includes this ntp manifest > >> > >> # cat modules/ntp/ma

Re: [Puppet Users] confused about file ensure/require

2011-06-20 Thread Jacob Helwig
otice: /Stage[main]//File[blab]/ensure: defined content as '{md5}912ec803b2ce49e4a541068d495ab570' notice: Finished catalog run in 0.06 seconds % puppet apply ../test.pp notice: Finished catalog run in 0.04 seconds > 2. Files ntp.conf.el & ntp.conf.debian are located in > /etc/puppet/modules/ntp/files - source => > 'puppet://puppet:///ntp/files/${conf_file} is this correct? > You should include 'modules' in the 'puppet://' URI, since the form without it has been deprecated for a while. IIRC it should look something like: puppet:///modules/ntp/files/${conf_file} -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] Rake failing to create puppet dashboard database on RHEL6

2011-06-20 Thread Jacob Helwig
password: mypassword > encoding: utf8 > adapter: mysql > > Any ideas? Thanks. > It looks like the dashboard MySQL user doesn't have CREATE DATABASE permissions. This is a pretty reasonable restriction to have on the user, so you may need to create the database manually using a more privileged user, and skip the db:create step. -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] puppet CA expired

2011-06-16 Thread Jacob Helwig
5 years, IIRC. -- Jacob Helwig On Thu, 16 Jun 2011 11:03:49 -0700, Nathan Clemons wrote: > > What's the length of time on the CA cert? > > On Thu, Jun 16, 2011 at 10:40 AM, Jacob Helwig wrote: > > > On Tue, 14 Jun 2011 17:01:20 +0200, j...@squirk.org wrote: > &

Re: [Puppet Users] puppet CA expired

2011-06-16 Thread Jacob Helwig
an work out exactly what the safety net should look like to help prevent this from happening to other people. [1] http://projects.puppetlabs.com/issues/7962 -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] is ruby code allowed in puppet manifest?

2011-06-16 Thread Jacob Helwig
t will return this for you, instead of doing it in the manifest. You could do it in the manifest using an inline ERB template, but it's rather hacky. I definitely recommend going the custom fact route instead. -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] Has anyone noticed this - mount resource type and Solaris

2011-06-15 Thread Jacob Helwig
and. Unfortunately, the mount type has a whole slew of issues (which is one of the motivating forces behind breaking up that monolithic beast). 2) I doubt it's specific to the OpenCSW packages, but I'm not sure off hand if it's 2.6 specific or not. 3) Pop on ove

[Puppet Users] Open Source Team iteration & planning summary 2011-06-15

2011-06-15 Thread Jacob Helwig
Puppet should allow rubygems to deliver new functionality * #3910 - Server is not authoritative over client environment when specified in an ENC * #2247 - enablerepo and disablerepo for yum type * #3534 - Dashboard should support ability to set variables as arrays in the ENC -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] Managing local + LDAP users and groups

2011-06-14 Thread Jacob Helwig
useradd provider for the user type along the same lines as the existing useradd one. Thanks for already opening a ticket for this! http://projects.puppetlabs.com/issues/7911 -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] RFC: Adding implicit stages to Puppet

2011-06-10 Thread Jacob Helwig
Chris Phillips wrote: On 10 June 2011 02:50, Jacob Helwig wrote: On Thu, 09 Jun 2011 18:42:54 -0700, Nigel Kersten wrote: > > https://projects.puppetlabs.com/issues/7697 > > One problem people producing modules that make use of stages are hitting is > that it's difficult

Re: [Puppet Users] RFC: Adding implicit stages to Puppet

2011-06-09 Thread Jacob Helwig
swer to question "Which comes first, 'bootstrap' or 'pre'?" seems awfully ambiguous from just the names. What's the reason for separating it out? -- Jacob Helwig signature.asc Description: Digital signature

[Puppet Users] Open Source Team iteration & planning summary 2011-06-08

2011-06-08 Thread Jacob Helwig
ed" parametrized classes * #7743 - Package type V2 - dpkg * #7744 - Package type V2 - aptitude * #3741 - Custom facts loaded multiple times * #3669 - Make puppet honor DNS SRV records [1] http://projects.puppetlabs.com/issues/4394#note-2 -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] ! $is_virtual

2011-06-07 Thread Jacob Helwig
er/Dashboard/etc some progress will be able to made towards that end. [1] http://groups.google.com/group/puppet-dev/browse_thread/thread/7c2139b05f96d218/e5a70336f43e6c7d -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] logging output at err level, success as just a notice?

2011-06-07 Thread Jacob Helwig
he command twice is a hack, but it's the best I can think of at the moment. Seems reasonable that when "logoutput => on_failure" the actual output should be logged as an err, instead of a notice. Would you mind filing a feature request on the issue tracker[1]? [1] http://projects.puppetlabs.com -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] Changes on master applied only on second run on nodes

2011-06-07 Thread Jacob Helwig
efaults to 15 seconds. If "immediately" doesn't actually mean "immediately", but "after the file timeout", then you may be running into #5318[1], which should be fixed in the next version of 2.6, and in 2.7 when it comes out. http://projects.puppetlabs.com/issues/5318 -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] logging output at err level, success as just a notice?

2011-06-06 Thread Jacob Helwig
supports "any legal log level". logoutput really does only support true, false, and on_failure. Is pwck exiting non-zero when there is output? That should be sufficient to trigger the behavior it seems like you're looking for if you have 'logoutput => on_failure' in the exec. I tried running 'pwck -r' on my Ubuntu machine, and it exited 2 with a bunch of warnings. I presume it would have exited 0 had there not been any warnings. -- Jacob Helwig signature.asc Description: Digital signature

[Puppet Users] Package type: enable/disable repo vs options (#2247 vs #4113)

2011-06-02 Thread Jacob Helwig
etlabs.com/issues/2247 [2] http://projects.puppetlabs.com/issues/4113 -- Jacob Helwig signature.asc Description: Digital signature

[Puppet Users] "Open Source Team" planning meeting summary 2011-06-1

2011-06-01 Thread Jacob Helwig
- apt * #7224 - Bad english: hostname was not match with the server certificate * #5517 - behavior change within 2.6 makes it impossible to override class parameters of "included" parametrized classes * #7743 - Package type V2 - dpkg * #7744 - Package type V2 - aptitude [

Re: [Puppet Users] Puppet 2.6.8 agent slow execution

2011-06-01 Thread Jacob Helwig
urce', the agent will have to make a new HTTP request per file to get the content when it attempts to manage the resource. You end up saving a potentially large number of HTTP round-trips, which adds up. -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] How do I enable repositories and install packages

2011-06-01 Thread Jacob Helwig
iguration. I'm not all that familiar with the details though since I've tended not to use the RPM based systems. [1] http://projects.puppetlabs.com/issues/4113 -- Jacob Helwig On Wed, 01 Jun 2011 09:31:51 -0700, Nathan Clemons wrote: > > The package resource type will allow yo

[Puppet Users] Puppet should correctly support CA trust chains (#3143)

2011-05-31 Thread Jacob Helwig
On Tue, 31 May 2011 22:01:15 -0600, Alan Sparks wrote: > > On 5/31/2011 9:07 PM, Jacob Helwig wrote: > > On Tue, 31 May 2011 20:56:47 -0600, Alan Sparks wrote: > >> > >>> On Tue, May 31, 2011 at 5:08 PM, Jacob Helwig >>> <mailto:ja...@puppetlabs.com&g

Re: [Puppet Users] Re: "Open Source Team" planning meeting summary

2011-05-31 Thread Jacob Helwig
On Tue, 31 May 2011 20:56:47 -0600, Alan Sparks wrote: > > > On Tue, May 31, 2011 at 5:08 PM, Jacob Helwig > <mailto:ja...@puppetlabs.com>> wrote: > > > > Just a quick reminder that we're going to have our planning meeting > > tomorrow

[Puppet Users] Re: "Open Source Team" planning meeting summary

2011-05-31 Thread Jacob Helwig
On Thu, 26 May 2011 09:38:28 -0700, Jacob Helwig wrote: > > As promised yesterday, here are the results of our first planning > meeting. > > Right now, we're loosely following a Scrum style of development. With > the current one-week iteration's backlog outlined

[Puppet Users] Schedule resource oddities (#7639)

2011-05-27 Thread Jacob Helwig
ow (here, or on the related ticket[1]) and please let us know why. [1] http://projects.puppetlabs.com/issues/7639 -- Jacob Helwig signature.asc Description: Digital signature

[Puppet Users] "Open Source Team" planning meeting summary

2011-05-26 Thread Jacob Helwig
providers. In addition to the iteration backlog, #7670 and #7681 have become priorities that we will be addressing as soon as we can. * #7670 - operatingsystem fact incorrect after clear on Ubuntu * #7681 - Regression, arrays and variables [1] http://projects.puppetlabs.com -- Jacob Hel

[Puppet Users] Re: Changing up some things around Puppet Labs's Open Source Software

2011-05-26 Thread Jacob Helwig
On Wed, 25 May 2011 18:14:28 -0700, Jacob Helwig wrote: > > One of the largest challenges we've continually faced at Puppet labs is > trying to find a good balance in splitting the development team's time > between the (currently small amount of) commercial software, and the

[Puppet Users] Changing up some things around Puppet Labs's Open Source Software

2011-05-25 Thread Jacob Helwig
for things you'd like to see, or comments/suggestions/questions about anything I've mentioned please feel free to bring them up here, or contact me personally. [1] http://article.gmane.org/gmane.comp.version-control.git/171013 [2] http://pivotallabs.com/blabs/categories/standup [3] https://patchwork.puppetlabs.com/ -- Jacob Helwig signature.asc Description: Digital signature

[Puppet Users] Problem with Facter 1.5.9 on Ubuntu

2011-05-25 Thread Jacob Helwig
vs Debian, then you shouldn't upgrade to Facter 1.5.9. [1] https://projects.puppetlabs.com/issues/7670 -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] Re: Does the puppet module tool work with ruby1.9.2?

2011-05-24 Thread Jacob Helwig
from your initial email[1]. If you have any additional details you think might help please add them (though you'll still need to register an account to do so). [1] http://projects.puppetlabs.com/issues/7648 Thanks for taking the time to send us the output you were getting with Ruby 1.9. --

[Puppet Users] ANNOUNCE: Facter 1.5.9 Final!

2011-05-20 Thread Jacob Helwig
have /proc/cpuinfo. 889e150 Sync rpm spec file from Fedora/EPEL 725dce0 Rename Reductive Labs to Puppet Labs ff473ef Updated signing rake task a85f2b0 [#2865] Fix reporting of virtual facts f67ec05 [#4567] Add ext/facter-diff to compare output of 2 versions 4050acc Removing stupid .DS_Store files :( 01

Re: [Puppet Users] Negative checkin time

2011-05-19 Thread Jacob Helwig
KNOWN: somenode.fqdn checked in -16 minutes ago > > how is that possible? The timestamp for the checkin time is taken from > node.values[:_timestamp]. > > Is this timestamp based on the remote node's clock? > It is. It looks like you've got clock drift between the m

Re: 530 million backslashes (was Re: [Puppet Users] So, clientconfigs.sqlite3 is pretty big)

2011-05-15 Thread Jacob Helwig
On Sun, 15 May 2011 15:56:01 -0700, Robin Lee Powell wrote: > > On Sun, May 15, 2011 at 09:57:29AM -0700, Jacob Helwig wrote: > > On Sun, 15 May 2011 15:33:56 +, Nigel Kersten wrote: > > > > > > This looks to be the issue that you're hitting: > > >

Re: 530 million backslashes (was Re: [Puppet Users] So, clientconfigs.sqlite3 is pretty big)

2011-05-15 Thread Jacob Helwig
~]$ cat /tmp/dump | tr '\\' '\n' | wc > > 536920329    5988 536988618 > > > > This means my database has 530 *MILLION* backslashes in it. > > > > Which strikes me as maybe not the best thing. > > This looks to be the issue that you're hitting: > http://projects.puppetlabs.com/issues/4487 > It definitely looks like you're hitting 4487, as Nigel said. Right now the fix for that isn't yet available in a released version of Puppet. If you're comfortable running a pre-release version, the fix is in the 2.6.x branch of the git repository. It will be in the next point release of the 2.6.x series, if you don't feel comfortable running a pre-release version of Puppet. -- Jacob Helwig signature.asc Description: Digital signature

Re: [Puppet Users] Puppet 2.6.8 -- Thanks

2011-05-11 Thread Jacob Helwig
gt; > > ~dklann Thank you! As someone working on the Puppet code-base, it means a lot to hear this kind of unsolicited positive feedback. It's far too easy to get bogged down in bug reports, and unexpected behavior, and forget that people have actually chosen to use Puppet, and

[Puppet Users] ANNOUNCE: Puppet 2.6.8 final available!

2011-04-27 Thread Jacob Helwig
84) 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

Re: [Puppet Users] Custom data embedded in Puppet SSL Certs...

2011-04-26 Thread Jacob Helwig
nifests match on cert name not host name, they're just usually the same). Is there something about the provisioning process that prevents pre-generating the certs, and placing the cert & an appropriate puppet.conf on the machine before first boot? (This would definitely explain why this approach would be un-workable.) -- Jacob Helwig signature.asc Description: Digital signature

  1   2   >