Re: [Puppet Users] Re: RFC: Default File Permissions

2013-02-08 Thread Josh Cooper
Hi John, On Fri, Feb 8, 2013 at 9:22 AM, jcbollinger wrote: > > > On Thursday, February 7, 2013 7:48:58 PM UTC-6, Josh Cooper wrote: >> >> Recently, the issue of copying file modes from remote sources was >> discussed on the puppet-users mailing list[1], although it

Re: [Puppet Users] RFC: Default File Permissions

2013-02-08 Thread Josh Cooper
? "If true and permissions are unspecified, Puppet would continue copying source permissions as it does today, for both newly created and existing files. This would be the default." Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the

Re: [Puppet Users] Puppet Windows Service keeps stopping/starting

2013-02-08 Thread Josh Cooper
On Fri, Feb 8, 2013 at 9:08 AM, jcbollinger wrote: > > > On Friday, February 8, 2013 3:20:33 AM UTC-6, jim wrote: >> >> Hello Josh >> >> Thanks for reply so quickly, here is my manifest, thinking about it, I >> assume it because i'm installing the ag

[Puppet Users] RFC: Default File Permissions

2013-02-07 Thread Josh Cooper
permissions for existing files would be unmodified. Doing so would provide a mechanism for resolving both #5240 and #18931. Comments and feedback welcome. Josh [1] https://groups.google.com/forum/#!msg/puppet-users/CI7pEUHknm4/x-hCGJn6Ms8J [2] https://projects.puppetlabs.com/issues/18931 [3] http

Re: [Puppet Users] Puppet Windows Service keeps stopping/starting

2013-02-07 Thread Josh Cooper
like your service is subscribed to some other resource, perhaps a package whose name doesn't match its name in Add/Remove Programs? Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] Re: Need a solution for "puppet node clean" (puppet v3.0.2)

2013-02-06 Thread Josh Cooper
p receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/gr

Re: [Puppet Users] Re: Need a solution for "puppet node clean" (puppet v3.0.2)

2013-02-05 Thread Josh Cooper
ost to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > Sounds like you're running into http://projects.puppetlabs.com/issues/15

Re: [Puppet Users] Puppet Support for Windows

2013-01-28 Thread Josh Cooper
aining issues are around packaging, updating PE modules to support windows, and better mcollective control of the puppet agent, all of which are straightforward tasks. Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "P

Re: [Puppet Users] windows : exec ressources and creates paramater

2013-01-24 Thread Josh Cooper
equire => [ File['jdk-6u18-windows-i586.exe'] ], >> } >> } You should checkout the executable package provider in Puppet 3. See https://groups.google.com/d/msg/puppet-users/cKQ8DAV6nlI/q_hkK2w8MNIJ One gotcha to be aware of is that the name of the package in your m

Re: [Puppet Users] How to use Agent on localized Windows?

2013-01-22 Thread Josh Cooper
bundler, do `bundle install` followed by `bundle exec puppet apply ...` Josh [1] https://github.com/puppetlabs/puppet/blob/master/Gemfile#L30 -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To

Re: [Puppet Users] facter : Bug #10261

2013-01-22 Thread Josh Cooper
n. > Ticket #10261 was that facter always reported the architecture as x86, even when running a 64-bit OS on x64 hardware. However, there is a still unresolved ticket #16948 when running a 32-bit OS on x64 hardware. Josh -- Josh Cooper Developer, Puppet Labs -- You received this message bec

Re: [Puppet Users] Puppet and Windows runtime error

2013-01-21 Thread Josh Cooper
NoneApplying > configuration version '1358787434' > Information 21.01.2013 17:57:17 Puppet 1 NoneCaching catalog > for ced.example.com > Information 21.01.2013 17:57:09 Puppet 1 NoneLoading facts > in C:/ProgramData/PuppetLabs/puppet/var/

Re: [Puppet Users] Windows Puppet File Resource Getting Puppet Server's UNIX File Permissions

2013-01-17 Thread Josh Cooper
Hi John, On Thu, Jan 17, 2013 at 6:56 AM, jcbollinger wrote: > > > On Wednesday, January 16, 2013 3:35:46 PM UTC-6, Josh Cooper wrote: >> >> Hi Alex, >> >> On Wed, Jan 16, 2013 at 12:49 PM, phundisk >> wrote: >> > I am noticing some very

Re: [Puppet Users] Windows Puppet File Resource Getting Puppet Server's UNIX File Permissions

2013-01-16 Thread Josh Cooper
the local system, which may not be what you would expect. See http://projects.puppetlabs.com/issues/5240. You could either set the executable bit on these files in svn[1] or define a default mode for file resources[2]. I'd probably go with the former. Josh [1] http://svnbook.red-bean.com/en/

Re: [Puppet Users] Re: Plan the manifests structure

2013-01-14 Thread Josh Cooper
On Mon, Jan 14, 2013 at 10:03 AM, Евгений Верещагин wrote: >> http://www.slideshare.net/PuppetLabs/modern-module-development-ken-barber-2012-edinburgh-puppet-cam That should be: http://www.slideshare.net/PuppetLabs/modern-module-development-ken-barber-2012-edinburgh-puppet-camp Josh -

Re: [Puppet Users] Installing cloudprovisioner on windows

2013-01-11 Thread Josh Cooper
: https://forge.puppetlabs.com/puppetlabs/registry If instead you want to use `puppet apply`, then you can extract the tarball and point your modulepath at it as described here: http://docs.puppetlabs.com/puppet/2.7/reference/modules_installing.html Josh -- Josh Cooper Developer, Puppet Labs

Re: [Puppet Users] stdlib take almost 14 minutes to sync on CentOS Vagrant VM

2013-01-10 Thread Josh Cooper
.. Also, when looking into the SRV support in puppet, I found that ruby's internal DNS resolver does not cache SRV lookups, at least in 1.8.7. It may not cache reverse lookups either, which could make this issue worse for you. Josh > Thanks, > Kirk > > > On Wednesday, January

Re: [Puppet Users] How to use Agent on localized Windows?

2013-01-09 Thread Josh Cooper
Run Agent. > 7. I saw a lot of new problems (screenshot): not enough some GEMs. You'll need to use puppet 3, the latest stable release is 3.0.2: https://downloads.puppetlabs.com/windows/ Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscr

Re: [Puppet Users] stdlib take almost 14 minutes to sync on CentOS Vagrant VM

2013-01-09 Thread Josh Cooper
Hi Kirk, Do you happen to have SRV lookups enabled via the `use_srv_records` setting? You may want to run tcpdump and look for extraneous DNS lookups. Josh On Wed, Jan 9, 2013 at 2:00 PM, Kirk Steffensen wrote: > Here is the strace output from one of the 10-second periods while waiting &g

Re: [Puppet Users] How to use Agent on localized Windows?

2013-01-08 Thread Josh Cooper
s from http://rubyinstaller.org? Josh -- Josh Cooper Developer, Puppet Labs -- 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

Re: [Puppet Users] Windows Puppet Agent Hangs on Run

2013-01-07 Thread Josh Cooper
led is > https://downloads.puppetlabs.com/windows/puppet-2.7.20.msi > > > On Friday, January 4, 2013 6:57:58 PM UTC-5, Josh Cooper wrote: >> >> On Friday, January 4, 2013 11:01:00 AM UTC-8, phundisk wrote: >>> >>> Can anyone make sense of the output below?

Re: [Puppet Users] Windows Puppet Agent Hangs on Run

2013-01-04 Thread Josh Cooper
On Friday, January 4, 2013 11:01:00 AM UTC-8, phundisk wrote: > Can anyone make sense of the output below? I am still experiencing this > error. Does this require any configuration change on the puppet server? > > On Friday, December 21, 2012 4:45:30 PM UTC-5, phundisk wrote: &

Re: [Puppet Users] How to use Agent on localized Windows?

2013-01-02 Thread Josh Cooper
the computer_name method as mentioned in the ticket, I am able to create a user. If you are seeing other issues, e.g. file names, etc, please let us know. Thanks, Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups &quo

Re: [Puppet Users] Windows Puppet Agent Hangs on Run

2012-12-21 Thread Josh Cooper
round line 133: begin Facter.debug("executing #{code}") # Add this line out = %x{#{code}}.chomp Then run: facter --debug --trace Josh On Fri, Dec 21, 2012 at 7:42 AM, phundisk wrote: > This seems to be happening in my development network but not in production > which I

Re: [Puppet Users] issues with puppet 3.0.1 using ruby 1.9.3 and passenger (3.0.18)

2012-12-12 Thread Josh Cooper
t; https://groups.google.com/d/msg/puppet-users/-/n9UUHUqHYlQJ. > 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.go

Re: [Puppet Users] Re: Puppet 2.7 Windows File Permissions cause Permission Denied Errors

2012-12-11 Thread Josh Cooper
sure you understand the risks involved before trading > and seek independent advice if necessary. Performance, strategies and charts > shown are not necessarily predictive of any particular result and past > performance is no indication of future results. Investor returns may vary > from

Re: [Puppet Users] Puppet 3.0 rspec and custom resources

2012-12-10 Thread Josh Cooper
I have a proposed fix in puppet, see my last comment in http://projects.puppetlabs.com/issues/17543#note-3 Josh On Wednesday, November 14, 2012 5:40:45 AM UTC-8, Brett Porter wrote: > > I've seen the same problem - and a similar one when working with multiple > hosts. There&#

Re: [Puppet Users] Puppet 2.7 Windows File Permissions cause Permission Denied Errors

2012-12-10 Thread Josh Cooper
t it doesn't "hurt" anything, since that permission has no meaning for files. If you're still seeing the issue with directories, can you icacls on the directory. Also do you get different results depending on whether you're running puppet interactively as an Administrator vs

Re: [Puppet Users] Hiera and 3.0 Confused..

2012-11-29 Thread Josh Cooper
x) need to be done on the master[2] Josh [1] http://docs.puppetlabs.com/#hierahiera1 [2] http://docs.puppetlabs.com/hiera/1/installing.html -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To po

Re: [Puppet Users] Puppet Agent on Windows and file paths 32 or 64 Bit

2012-11-26 Thread Josh Cooper
, you may need to do something like: https://github.com/puppetlabs/puppetlabs-dism/blob/master/lib/puppet/provider/dism/dism.rb#L7 Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to thi

Re: [Puppet Users] Windows Manifest Newline Syntax and Append to file Questions

2012-11-20 Thread Josh Cooper
/puppet-users/-/IUFifHBoo6IJ. > 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=

[Puppet Users] hiera-puppet

2012-11-19 Thread Josh Cooper
end. The hiera-puppet README.md has been updated with additional information and links[3]. Josh [1] http://projects.puppetlabs.com/issues/11608 [2] http://docs.puppetlabs.com/hiera/1/installing.html#step-2-install-the-puppet-functions [3] https://github.com/puppetlabs/hiera-puppet/blob/master

Re: [Puppet Users] Puppet Package Provider Continuously Re-installing Packages

2012-11-19 Thread Josh Cooper
`puppet resource package `, also with the name as displayed in Add/Remove Programs. You should see puppet report that the package is installed. [1] http://docs.puppetlabs.com/windows/writing.html#packagepackage -- Josh Cooper Developer, Puppet Labs -- You received this message because

Re: [Puppet Users] OSX 10.8 - Puppet 3.0.1 fails to start as root

2012-11-16 Thread Josh Cooper
ng as a regular user works fine... just not as root. Maybe > root is not required to run the puppet agent on mac?? I do not know. I > also see there are some bugs on the issue tracker with similar errors, but > the posters of those bugs dont seem to have the problem of not being abl

Re: [Puppet Users] Re: Managing home directory on Windows

2012-11-06 Thread Josh Cooper
Hi Matt, On Tue, Nov 6, 2012 at 1:10 PM, Matthew Burgess wrote: > > On Tue, Nov 6, 2012 at 8:46 PM, Josh Cooper wrote: > > >> Historic behavior, at least for some providers, was to create the > >> homedir upon user creation, but not to remove it upon user removal.

Re: [Puppet Users] Re: Managing home directory on Windows

2012-11-06 Thread Josh Cooper
Hi John, On Tue, Nov 6, 2012 at 12:28 PM, jcbollinger wrote: > > > On Tuesday, November 6, 2012 12:36:19 PM UTC-6, Josh Cooper wrote: >> >> I have a question for windows users out there. Adam recently reported a >> bug[1] that the managehome parameter on Windows doesn&

[Puppet Users] Managing home directory on Windows

2012-11-06 Thread Josh Cooper
ed in our documentation, but we'd also like to keep 2.7.20 as stable as possible. Comments welcome. Also, Puppet 3.0 does create and delete the home directory, as expected. Josh [1] http://projects.puppetlabs.com/issues/15560 [2] http://docs.puppetlabs.com/references/2.7.6/type.html#u

Re: [Puppet Users] Could not parse for environment production: Syntax error at '{'; expected '}' at

2012-11-06 Thread Josh Cooper
Hi Havary, Sounds like this might be the same issue as: https://groups.google.com/d/topic/puppet-users/3d_cGLwdzWo/discussion Did you install the puppetmaster, and then downgrade to an earlier version? If so, I'd recommend clearing everything in vendor_ruby/puppet, and then re-installing.

Re: [Puppet Users] Console color in 3.0.1

2012-10-31 Thread Josh Cooper
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. Others feel the same way: http://projects.puppetlabs.com/issues/16728. Please add yourself as a wat

Re: [Puppet Users] Launching a full screen app through puppet

2012-10-26 Thread Josh Cooper
o something like this: http://chabster.blogspot.com/2008/01/run-as-interactive-user-from-service.html. Compile it and distribute it with your module. Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Pu

Re: [Puppet Users] Puppet Agent not sync with Puppet Master

2012-10-25 Thread Josh Cooper
d to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/H-sGvqffsZEJ. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to >

Re: [Puppet Users] Git clone manifest for windows puppet clinet

2012-10-25 Thread Josh Cooper
on Windows, but it appears to not assume POSIX paths, so that's a good sign. The only issue I can see right away is that you won't be able to manage file permissions[1]. Josh [1] https://github.com/puppetlabs/puppetlabs-vcsrepo/blob/master/lib/puppet/provider/vcsrepo.rb#L10 -- Josh Coope

Re: [Puppet Users] Exec python script on puppet clinet running on windows

2012-10-23 Thread Josh Cooper
ecause you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/S3z9K-EZwoYJ. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this

Re: [Puppet Users] Puppet spuriously removing classes from classes.txt

2012-10-19 Thread Josh Cooper
/group/puppet-users?hl=en. There was this issue (http://projects.puppetlabs.com/issues/4518), which was fixed in early 2.6. However, I think RI has said he's seen this more recently. You may want to ask on the mcollective-users list if you don't get a reply here. Josh -- Josh Coope

Re: [Puppet Users] Glassfish custom provider and 'file does not exist'

2012-10-19 Thread Josh Cooper
>>> -- >>>> 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

Re: [Puppet Users] Using Puppet to push Windows Updates?

2012-10-18 Thread Josh Cooper
ing like: http://www.flobee.net/programmatically-run-windows-update-as-part-of-a-broader-patch-and-reboot-process/ Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this g

Re: [Puppet Users] Different return codes on exec during puppet agent run vs command line Windows

2012-10-18 Thread Josh Cooper
tensions" > /featurename:"IIS-ISAPIFilter" /featurename:"IIS-LegacyScripts" /featur > > ename:"IIS-LegacySnapIn" /featurename:"IIS-LoggingLibraries" > /featurename:"IIS-ManagementConsole" /featurename:"IIS-Mana > > gementScri

Re: [Puppet Users] Custom Ruby

2012-10-16 Thread Josh Cooper
ps?) >> >> >> Can you run 3.0 server with 2.7 clients? > Yes. Also http://docs.puppetlabs.com/guides/upgrading.html#always-upgrade-the-puppet-master-first Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google

Re: [Puppet Users] puppet windows importing manifests twice when using puppet apply

2012-10-16 Thread Josh Cooper
t; in environment production I'm pretty sure this is https://projects.puppetlabs.com/issues/13055 Try specifying the modulepath as `--modulepath=C:/devops/trunk/puppetmodules` The issue here is that the win32-dir gem patches Dir.pwd, causing it to return a path with backslashes. This con

Re: [Puppet Users] Setting up Java on Windows

2012-10-16 Thread Josh Cooper
of the package needs to match 'DisplayName' as specified in the registry and displayed in Add/Remove programs. As for customizing the PATH, this is filed as https://projects.puppetlabs.com/issues/16048 and there's some background information here https://groups.google.com/for

Re: [Puppet Users] Error: Not authorized to call find on /file_metadata/files

2012-10-12 Thread Josh Cooper
up, 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. The fileserver parser has not been updated to acc

Re: [Puppet Users] Package install_options

2012-10-12 Thread Josh Cooper
.com/group/puppet-users?hl=en. While install_options (and uninstall_options) are part of the package type, only the msi/windows package provider supports them currently. See http://docs.puppetlabs.com/references/latest/type.html#package There are some tickets for updating other package providers to s

Re: [Puppet Users] Windows Exec ifonly equals true

2012-10-11 Thread Josh Cooper
erences/latest/type.html#exec Since that path is in the windows system directory, be careful of Windows filesystem redirection. You may need to specify the path as `c:/windows/sysnative/...` See http://docs.puppetlabs.com/windows/running.html#file-system-redirection-in-64-bit-windows-versions Josh --

Re: [Puppet Users] Puppet client not listening on port 8139

2012-10-11 Thread Josh Cooper
://groups.google.com/group/puppet-users?hl=en. Try running with --debug. Note you'll need to provide an auth.conf on the client otherwise no one will be allowed to connect, and puppet will ignore the listen setting. Josh -- You received this message because you are subscribed to the Goo

Re: [Puppet Users] Re: Migration from Puppet 2.6.7 to 3.0.0 issues

2012-10-10 Thread Josh Cooper
Hi Thomas, On Wed, Oct 10, 2012 at 1:13 PM, Thomas Bendler wrote: > Hi Josh, > > 2012/10/10 Josh Cooper >> >> [...] >> I think puppet agent is expecting yaml, and is either receiving json >> or otherwise can't parse the yaml it's receiving. We m

Re: [Puppet Users] Set a windows environment variable from manifest

2012-10-10 Thread Josh Cooper
ting a type/provider for this, but have been too busy with other things. https://groups.google.com/forum/?fromgroups=#!topic/puppet-users/68ebrAEUzgQ Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users&qu

Re: [Puppet Users] Re: Migration from Puppet 2.6.7 to 3.0.0 issues

2012-10-10 Thread Josh Cooper
ot;:\"Class\"},{\"exported\":false,\"title\":\"main\",\"parameters\":{\"name\":\"main\"},\"tags\":[\"class\"],\"type\":\"Class\"},{\"exported\":false,\"title\":\"

Re: [Puppet Users] Re: activerecord and puppet-3.0.0

2012-10-10 Thread Josh Cooper
ot occur with a blank CentOS box >> starting out with puppet 3. >> >> Want me to add this information to the tracked issue? Don't want to add >> unwanted noise to the issue unnecessarily :) >> >> Cheers, >> Jonathan >> >> >> &g

Re: [Puppet Users] Puppet 3 and ENC deploy ... nothing

2012-10-10 Thread Josh Cooper
Regards, Thomas > -- > Linux ... enjoy the ride! > > -- > 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 t

Re: [Puppet Users] Setting Powershell execution policy through Puppet

2012-10-09 Thread Josh Cooper
stem32 to C:\Windows\SysWOW64. Use C:\Windows\sysnative in your path instead. See http://docs.puppetlabs.com/windows/running.html#file-system-redirection-in-64-bit-windows-versions and the very end of http://docs.puppetlabs.com/windows/troubleshooting.html#error-messages Josh -- Josh Cooper D

Re: [Puppet Users] Re: activerecord and puppet-3.0.0

2012-10-09 Thread Josh Cooper
Jonathan and Luca, How did you install puppet (from source, gem, apt-get, ...)? In the cases that fail, is it always that you installed 2.7.x and upgraded from there? If so, how did you update? We are tracking this issue at http://projects.puppetlabs.com/issues/16770 Josh On Tue, Oct 9, 2012

Re: [Puppet Users] Puppet 3.0 and dashboard (again)

2012-10-08 Thread Josh Cooper
e > > thoughts? Are you using storedconfigs: http://projects.puppetlabs.com/issues/16698 Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-use

Re: [Puppet Users] puppet 3.0 and passenger

2012-10-08 Thread Josh Cooper
another uninitialized constant ActiveRecord error: http://projects.puppetlabs.com/issues/16770 Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-use

Re: [Puppet Users] puppet 3.0 and passenger

2012-10-08 Thread Josh Cooper
e_notes.html#puppet-master-web-server-changesand https://groups.google.com/d/topic/puppet-users/7T26yDW-Xtk/discussion Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group

Re: [Puppet Users] Deploy nagios client on windows

2012-10-02 Thread Josh Cooper
On Mon, Oct 1, 2012 at 10:39 AM, Josh Cooper wrote: > Hi Thomas, > > On Thu, Sep 27, 2012 at 12:59 PM, Thomas Bendler > wrote: >> Hi @all, >> >> does anyone manage the NSClient++ deployment with puppet? I have the strange >> behavior that I can distribute th

Re: [Puppet Users] Speed up file resource on Windows

2012-10-01 Thread Josh Cooper
On Thu, Aug 30, 2012 at 12:28 PM, Josh Cooper wrote: > Hi Roger, > > On Tue, Aug 28, 2012 at 2:59 PM, Roger wrote: >> Puppet is taking about 5 minutes per run on a Windows 2008 R2 server. >> Here's the breakdown: >> >> config_retrieval 1.638 >> ex

Re: [Puppet Users] Puppet runs extremly slow on 1 of 18 Windows Server

2012-10-01 Thread Josh Cooper
s there is an > IP-collision with another device on the network? Perhaps the switchport is > faulty? The underlying virtualisation has something fishy configured? The > nameserver is acting up? etc. > > > > Good hunting, D. Did this issue get resolved? If not, what did --evaltrace sh

Re: [Puppet Users] Puppet windows -

2012-10-01 Thread Josh Cooper
1.8/i386-mingw32/digest/sha1.so')" You should get: 7479672868457859e36fd0a0e35fc20dc066ebe1 Also, what is your PATH and RUBYLIB? Did you recently update (Patch Tuesday)? Josh On Wed, Sep 26, 2012 at 4:32 AM, Pavel Drobushevich wrote: > Hi Josh, > > I've installed puppet from official m

Re: [Puppet Users] Deploy nagios client on windows

2012-10-01 Thread Josh Cooper
me reason, the NSClient MSI gets confused and uninstalls the service during the repair. In any case, the second time you run puppet (with --debug), you should see something like: Debug: /Stage[main]//File[c:/local/nagios/NSClient++-0.3.9-x64.msi]/require: requires File[c:/local/nagios] Debug: /Sta

Re: [Puppet Users] Puppet windows -

2012-09-25 Thread Josh Cooper
puppet/sys/ruby/lib/ruby/1.8/digest/sha2.rb Also this link describes the same problem, may be a ruby 1.9.3-p0 issue on Windows: https://github.com/oneclick/rubyinstaller/issues/102 Or perhaps your system PATH and/or RUBYLIB is picking up a different version than the one the MSI installed.

Re: [Puppet Users] MSI Package Provider and Install_options

2012-09-25 Thread Josh Cooper
=> 'msi', source => 'N:/packages/mysql-5.5.16-winx64.msi', install_options => { 'INSTALLDIR' => 'C:\mysql-5.5' }, } The msi package provider will transform the hash pair into INSTALLDIR='c:\mysql-5.5' on the command line, and will automa

Re: [Puppet Users] Variable interpolation inside hiera data

2012-09-25 Thread Josh
So obvious now that I think about it! *slaps head* Cheers Josh On Tuesday, September 25, 2012 3:11:32 AM UTC+1, Nan Liu wrote: > > On Mon, Sep 24, 2012 at 2:39 AM, Josh > > > wrote: > > I am using the latest version of hiera and puppet and wondering if there >

[Puppet Users] Variable interpolation inside hiera data

2012-09-24 Thread Josh
nd becomes especially annoying when arrays are involved. Any way to get puppet to take notice of the $ and look the actual value up? Thanks Josh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on

Re: [Puppet Users] Puppet on Windows 2003 Server > wrong IP via facter?

2012-09-19 Thread Josh Cooper
ses 10 where 10 is my interface index for my "Local Area Connection" interface Note facter does, or at least should be, reporting on the ipaddress associated with each interface, downcased and with underscores. In my case: ipaddress_local_area_connection => 172.16.138.231 ipaddres

Re: [Puppet Users] Right approach to Windows installers

2012-09-17 Thread Josh Cooper
On Mon, Sep 17, 2012 at 6:07 PM, Josh Cooper wrote: > Hi Jason, > > On Mon, Sep 17, 2012 at 11:05 AM, Jason_s wrote: >> Hi Puppeteers, >> >> I hope I can get you advice about the best way to approach using MSIs and >> other installers on Windows. >>

Re: [Puppet Users] Right approach to Windows installers

2012-09-17 Thread Josh Cooper
his 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. > Josh -- Josh Cooper Deve

Re: [Puppet Users] Trying to add Domain user to a Local group issue

2012-09-10 Thread Josh Cooper
mail to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. This is related to the scheduled_task + domain user issue discussed here: https://groups.google.com/d/msg/puppet-users/pkePgl72M6M/qTO3atT-ouMJ B

Re: [Puppet Users] Re: Problem with hiera arrays not obeying the hierachy

2012-09-04 Thread Josh
On Tuesday, September 4, 2012 9:10:57 AM UTC+1, Josh wrote: > > What is the behaviour regarding hash keys? Would a merged hash that ends > up with a duplicate key take the value from higher up the hierarchy > Have answered my own question. The answer to this is yes (for the benefi

Re: [Puppet Users] Re: Problem with hiera arrays not obeying the hierachy

2012-09-04 Thread Josh
y and fix so all good. What is the behaviour regarding hash keys? Would a merged hash that ends up with a duplicate key take the value from higher up the hierarchy? Thanks again, Josh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.

[Puppet Users] Re: Problem with hiera arrays not obeying the hierachy

2012-09-03 Thread Josh
...my hiera.conf since it would probably help. %{datacentre} is a custom fact that is set at build time: --- :hierarchy: - node/%{hostname} - common/%{datacentre} - common/common :backends: - yaml - puppet :yaml: :datadir: '/local/puppet/env/%{environment}/hieradata' :puppet: :datas

[Puppet Users] Problem with hiera arrays not obeying the hierachy

2012-09-03 Thread Josh
e obeyed and both .yaml and common.yaml would be ignored ... or have I misunderstood how the system works? Thanks Josh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/

Re: [Puppet Users] Puppet file copy

2012-08-31 Thread Josh Cooper
puppet:///modules/solr/solr.xml The way to think about puppet URI's is that the server host and port have been omitted, so there are two slashes for puppet://, and the URI path always has a leading slash, /modules/solr/solr.xml. See http://docs.puppetlabs.com/guides/file_serving.html -- Jos

Re: [Puppet Users] Speed up file resource on Windows

2012-08-30 Thread Josh Cooper
ifs? Are you managing owner/group/mode? If so, can you try omitting those properties? Josh -- Josh Cooper Developer, Puppet Labs -- 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@googlegr

Re: [Puppet Users] Puppet Agent on Windows

2012-08-29 Thread Josh Cooper
ault time(30 mins). > > puppet.conf: > > [agent] > server=puppet > pluginsync=true > report=true > runinterval=60 This says to run every 60 seconds (not 2 mins). See[3] > listen=true > certname=hawkeye.kodiak-internal.com > tags=job-schedular > Josh [1] http://

Re: [Puppet Users] Reporting to Dashboard on XP node

2012-08-22 Thread Josh Cooper
Hi Josh, On Thu, Aug 9, 2012 at 2:05 PM, Josh Shabtai wrote: > Hi, > > We set up Dashboard a month or two ago, running on our Puppet master (a > Debian server). All of our machines are running puppet just fine, but one > of them, an XP machine (the software we're running do

Re: [Puppet Users] puppet kick not working against windows service

2012-08-22 Thread Josh Cooper
OPzKMQxoWr4J. > > 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. Jo

Re: [Puppet Users] Scheduled_task + ad user

2012-08-21 Thread Josh Cooper
Hi Jeff, It should be lib/puppet/util/adsi.rb Also please add yourself as a watcher to the ticket. Josh On Aug 21, 2012, at 3:18 PM, Jeff Sussna wrote: > Stupid question: where is the source file for this hack? > > On Monday, July 2, 2012 11:19:46 PM UTC-5, fpommier wrote:

Re: [Puppet Users] Re: Installing Java software on Windows using Puppet

2012-08-20 Thread Josh Cooper
ally we should have a type & provider for managing the system path. I've filed this as https://projects.puppetlabs.com/issues/16048 Josh [1] http://projects.puppetlabs.com/issues/11276 -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to th

Re: [Puppet Users] Re: Installing Java software on Windows using Puppet

2012-08-17 Thread Josh Cooper
b(main):002:0> Puppet::Util.which('cmd.exe') => "C:/Windows/system32/cmd.exe" Or is it not finding reg.exe? Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post t

Re: [Puppet Users] Re: Installing Java software on Windows using Puppet

2012-08-17 Thread Josh Cooper
Hi Adam, On Fri, Aug 17, 2012 at 11:27 AM, ad wrote: >> Hey Josh, >> >> On Friday, August 17, 2012 11:38:08 AM UTC-5, Josh Cooper wrote: >> >> >> I have a standardlib type module with generic functions for things like >> >> download, md5, etc

Re: [Puppet Users] Re: Installing Java software on Windows using Puppet

2012-08-17 Thread Josh Cooper
not what you wanted! I've made some improvements to the MSI package provider on Windows in 2.7.19[2] (currently in rc and will be out "soon"). It would be great if you could give that a try. Also, we'll have support for executable packages in 3.x[3]. And, Rich has a package pr

Re: [Puppet Users] puppet kick not working against windows service

2012-08-17 Thread Josh Cooper
pports Windows)[3]. There is also an executable installer[4] from the community. HTH, Josh [1] http://projects.puppetlabs.com/issues/11044 [2] http://projects.puppetlabs.com/issues/15735 [3] http://projects.puppetlabs.com/issues/12555 [4] http://www.kermit.fr/documentation/mcollective/windows_ins

Re: [Puppet Users] Re: how to override provider binary choice?

2012-08-16 Thread Josh Cooper
On Thu, Aug 16, 2012 at 1:18 PM, Eric Sorenson wrote: > You would need to manipulate $PATH in the environment before puppet-agent > starts, probably by changing the init script > Or specify the path setting[1] Josh [1] http://docs.puppetlabs.com/references/stable/configuration.

Re: [Puppet Users] Installing Java software on Windows using Puppet

2012-08-16 Thread Josh Cooper
registry types, such as REG_EXPAND_SZ, so you can do `value => '%SYSTEMDRIVE%\java7'` >> > 4. Add that environment variable/bin to the global PATH environment >> > variable. >> >> I'm sorry I can't help you with these two. Hopefully someone el

Re: [Puppet Users] getting output from command in custom provider

2012-08-13 Thread Josh Cooper
Puppet doesn't capture the output of commands in a persistent way like it does with the `logoutput` parameter for the exec type. It does get written to a tempfile, but deleted soon after. However, you could easily modify lib/puppet/provider.rb, line 121 (in 2.7.x), to output the result

[Puppet Users] Reporting to Dashboard on XP node

2012-08-09 Thread Josh Shabtai
ll contain the following: > [main] > pluginsync=true > server= > autoflush=true > I haven't found too much documentation on this stuff (just this: http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#configuring-puppet), and I have no idea how to proceed.

Re: [Puppet Users] Re: Adding a parameter to a custom Puppet type/provider

2012-08-06 Thread Josh Cooper
ndows gem at the top level would prevent the master (not running windows) from being able to compile catalogs. Did puppet actually used to invoke the validate method on the master, e.g. before 2.6? Or is that just how people thought/think it should work? Josh -- Josh Cooper Developer, Puppet Lab

Re: [Puppet Users] Re: Could not evaluate: Could not retrieve information from environment production source(s) for one module, for other is ok

2012-08-06 Thread Josh Cooper
>> Juan Sierra Pons j...@elsotanillo.net >> Linux User Registered: #257202 http://www.elsotanillo.net >> GPG key = 0xA110F4FE >> Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E934 3406 A110 F4FE >> >> --

Re: [Puppet Users] Re: can't get custom restart to work on a windows service

2012-07-27 Thread Josh Cooper
Hi Dan, Great to hear. This issue will be fixed in puppet 2.7.19, which should enter rc next week. Josh On Thu, Jul 26, 2012 at 10:52 AM, Dan McManus wrote: > I modified the windows.rb and it seems to work well now. Many thanks! > > Dan > > > On Tuesday, July 24, 2012 5:0

Re: [Puppet Users] can't get custom restart to work on a windows service

2012-07-25 Thread Josh Cooper
l won't start on its own. > > My question is whether I am doing something wrong or is this is a bug? The windows service provider doesn't currently support overriding the `restart` method. We should either call that out in the provider documentation or add the ability to override it. I&#x

<    1   2   3   4   5   6   >