Re: [Puppet Users] manifest for files executable on windows

2012-07-10 Thread Josh Cooper
Hi Viktoriya, On Tue, Jul 10, 2012 at 1:18 PM, Viktoriya Tochilnikova wrote: > Josh, > > I need to push and install python.msi package on win host. Should I use > "exec" block or "package" instead? I am not sure, pls confirm. THanks! > Use package. Note the

Re: [Puppet Users] manifest for files executable on windows

2012-07-09 Thread Josh Cooper
Hi Viktoriya, On Mon, Jul 9, 2012 at 2:18 PM, Viktoriya Tochilnikova wrote: > I have figured it out and got it to work - my executable is getting placed > on win machine. Great thanks, Josh. > How, I need to execute it. Here is my executable: > > exec { 'C:\Users\vita\Downl

Re: [Puppet Users] manifest for files executable on windows

2012-07-09 Thread Josh Cooper
0.exe', The source needs to be 'puppet:///modules/wsh/Wireshark-win32-1.8.0.exe' > } > > > Viktoriya > > > > From: Josh Cooper > To: puppet-users@googlegroups.com > Sent: Monday, July 9, 2012 12:27 PM > Subject

Re: [Puppet Users] manifest for files executable on windows

2012-07-09 Thread Josh Cooper
need to use the `onlyif` or `creates` parameters for your exec resource so that Puppet performs the exec if wireshark is not installed.[1] For example, `creates => 'C:\Program Files (x86)\Wireshark\wireshark.exe'` Finally, we are working on updating the package provider to support non-

Re: [Puppet Users] Scheduled_task + ad user

2012-07-02 Thread Josh Cooper
P1hXwgGE2CoJ. > 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. > It i

Re: [Puppet Users] Puppet windows newbie: command runs but ends with failure

2012-06-28 Thread Josh Cooper
ppeciated. > > Regards, > Anoop > > -- > 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/d/msg/puppet-users/-/E9MOpAK6U5MJ. > To post t

Re: [Puppet Users] config settings on Windows

2012-06-28 Thread Josh Cooper
rompt with Puppet, right-click, Run as Administrator. See http://docs.puppetlabs.com/windows/running.html#running-other-puppet-tasksfor more information. Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group

Re: [Puppet Users] Spaces in file paths for puppet windows

2012-06-25 Thread Josh Cooper
-/NG14OmcrhMgJ. > 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 Windows: scheduled_task : TypeError

2012-06-22 Thread Josh Cooper
n I can get > back on it I will. > > > On Thursday, June 21, 2012 3:02:38 PM UTC-5, Greg Swift wrote: >> >> first thing in the morning. >> >> On Thursday, June 21, 2012 1:15:09 PM UTC-5, Josh Cooper wrote: >>> >>> Can you try running with

Re: [Puppet Users] puppet windows exec successful but not really

2012-06-22 Thread Josh Cooper
Hi Michael, On Fri, Jun 22, 2012 at 11:00 AM, Josh Cooper wrote: > > Hi Michael > > On Fri, Jun 22, 2012 at 10:33 AM, Michael Baydoun > wrote: >> >> My windows client is running Windows 2003 Server 32 bit >> >> >> On Wed, Jun 20, 2012 at 3:

Re: [Puppet Users] Re: Calling custom functions from functions, parameter weirdness

2012-06-22 Thread Josh Cooper
1 >> args[0]:102 >> args.size:13 >> >> 13 is the string length of 'from_function', and 102 is the decimal >> representation of 'f'. >> >> - Adam >> > -- > You received this message because you are subscribed to the Google Grou

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

2012-06-21 Thread Josh Cooper
u are correct. I removed the arguments key/value pair and it ran > fine. I'm patching in your changes to try it with the arguments option. > > thank you very much > > On Thursday, June 21, 2012 11:53:40 AM UTC-5, Josh Cooper wrote: > Hi Greg, > > I believe this is issu

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

2012-06-21 Thread Josh Cooper
Hi Greg, I believe this is issue https://projects.puppetlabs.com/issues/13008, which I have fixed in my topic branch and is awaiting to be merged into 2.7.x. It would be great if you could try it out and let me know how it goes. Josh On Thu, Jun 21, 2012 at 9:00 AM, Greg Swift wrote

[Puppet Users] Re: [Puppet-dev] Announce: Facter 1.6.10

2012-06-14 Thread Josh Cooper
On Wed, Jun 13, 2012 at 5:45 PM, Moses Mendoza wrote: > Facter 1.6.10 is a maintenance release candidate in the 1.6.x branch with > bug fixes. > > It includes contributions from Hailee Kenney, Josh Cooper, Jeff Weiss, > Stefan Shulte, and Moses Mendoza. > > This release is a

Re: [Puppet Users] Windows architecture fact

2012-06-05 Thread Josh Cooper
Hi Marcus, On Tue, Jun 5, 2012 at 6:26 PM, Markus Falb wrote: > On 4.6.2012 18:42, Josh Cooper wrote: >> We recently fixed the hardwaremodel and architecture facts on Windows >> as they were always returning i386[1]. The change will be in the >> upcoming 1.6.10 release

[Puppet Users] Windows architecture fact

2012-06-04 Thread Josh Cooper
ed: Windows Server x64 splunk-4.2.4-110225-x64-release.msi java_ee_sdk-6u4-jdk7-windows-x64.exe Or would you expect the architecture to be 'amd64' or 'x86_64'? Thanks, Josh [1] http://projects.puppetlabs.com/issues/10261 [2] https://

Re: [Puppet Users] question about Cusctom Facts

2012-05-24 Thread Josh Cooper
ppetversion and pluginsync'ed facts, then you have to specify `facter --puppet`. Doing so, will cause facter to add `Puppet[:libdir]` to facter's $LOAD_PATH. Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups &qu

Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-24 Thread Josh Cooper
On Thu, May 24, 2012 at 4:32 AM, Matt F wrote: > > Thanks Josh - here's the output: > > C:\Windows\system32>puppet agent --test --debug > > debug: Failed to load library 'syslog' for feature 'syslog' > debug: Failed to load library 'seli

Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-23 Thread Josh Cooper
run in 0.28 seconds Can you stop the puppet agent, e.g. net stop puppet, delete the ssl certificates as Jeff described, perform the steps described in the 'Start Command Prompt with Puppet'[1], and run 'puppet agent --test --debug' Thank you, Josh [1] http://docs.puppetlabs.com/w

[Puppet Users] Domain is sometimes wrong on Windows

2012-05-21 Thread Josh Cooper
would also ask that if you have a primary dns domain set, how was it configured? Was it set via Active Directory, manually configured in computer properties, etc? Thank you, Josh [1] https://projects.puppetlabs.com/issues/12864 [2] https://projects.puppetlabs.com/issues/12116 [3] https://grou

[Puppet Users] Announcing Windows registry module initial release

2012-05-16 Thread Josh Cooper
t way to install this module is with the puppet module subcommand or the puppet-module Gem. puppet module install puppetlabs-registry More information about the module is available here: http://forge.puppetlabs.com/puppetlabs/registry Josh -- Josh Cooper Developer, Puppet Labs

Re: [Puppet Users] Exec of process that doesn't terminate

2012-05-14 Thread Josh Cooper
how I can force the puppet agent to just monitor any return > of a parent launcher process and not worry about the subsequent child > process? > > Thanks! > You probably want to do something like: cmd.exe /c start /b [arg1] ... You may or may not need the /b depending on w

[Puppet Users] Lots of problems with Puppet 2.7 and Passenger on FreeBSD

2012-05-09 Thread Josh
ny allow from all Does anything stand out? 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/d/msg/puppet-users/-/LQZ6QHiiiT8J. To post to thi

[Puppet Users] Re: Using templates from another module

2012-05-04 Thread Josh
> > (or can I ... can you just use multi-line yaml formatting and get the > template from there? Will give it a whirl) > ...of course not, what was I thinking :( -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the

[Puppet Users] Re: Using templates from another module

2012-05-04 Thread Josh
o I am doing this already (maybe? unless I read that wrong). It is just the template that I cannot pull in via hiera (or can I ... can you just use multi-line yaml formatting and get the template from there? Will give it a whirl) Josh -- You received this message because you are subscribed to

[Puppet Users] Re: Puppet 3.0 and Hiera

2012-05-04 Thread Josh
ardless of whether I have declared hash1 and hash2 for a given node or not, where as at the moment if you don't declare both of them in hiera the merge fails because the empty hash is seen as a string. Native support for the merging would be handy as well. Josh -- You received this message bec

[Puppet Users] Re: Using templates from another module

2012-05-04 Thread Josh
ink it is all part of the fact that hashes are new in Puppet and (as yet) not catered for particularly well. Cheers for the debug method, will come in handy! Josh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussio

[Puppet Users] Re: Using templates from another module

2012-05-03 Thread Josh
nk I'll go with the latter for overall consistency. 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/d/msg/puppet-users/-/Qdx9wdhswvUJ. To post to this group, s

[Puppet Users] Using templates from another module

2012-05-03 Thread Josh
ny way that I can use a template from another module? From my understanding of how puppet compiles the catalogue I cannot see why it wouldn't work? Thanks Josh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on th

[Puppet Users] Re: HA with BIG-IP?

2012-04-23 Thread Josh
Thanks, Luke. I'm going to pipe HTTPS straight thru the BIG-IP's to the PM's for now. Josh On Apr 23, 12:19 pm, Luke Bigum wrote: > Hi Josh, > > It would depend on whether an F5 can be made to write the necessary > information into an HTTP header. What I would do

Re: [Puppet Users] How to check if an MSI has not been removed in Windows?

2012-04-23 Thread Josh Cooper
all, query, etc the state of installed MSIs. We're looking at getting this merged soon. https://github.com/joshcooper/puppet/tree/ticket/2.7.x/11868-msi-provider Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "

[Puppet Users] HA with BIG-IP?

2012-04-23 Thread Josh
crypted via HTTP? I have seen this scenario described in Pro Puppet. I would think I would run into problems verifying clients at the PM if I decrypt at the load balancers. * How are you deploying health monitors for the PM's? Thanks, Josh -- You received this message because you are s

Re: [Puppet Users] How to modify a file content?

2012-04-16 Thread Josh Cooper
me, domain, etc. This is the ticket describing the initial set of facts we added support for in 2.7.x: http://projects.puppetlabs.com/issues/8439 > It's possible add more facts to windows? > You can always write custom facts. http://docs.puppetlabs.com/guides/custom_facts.html Josh

Re: [Puppet Users] content & source

2012-04-16 Thread Josh Cooper
source should generate a validation error as source and content are mutually exclusive. 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@goo

Re: [Puppet Users] How to modify a file content?

2012-04-16 Thread Josh Cooper
sing the agent's hostname fact: host = <%= @hostname %> This page provides more information about puppet templates: http://docs.puppetlabs.com/guides/templating.html Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Re: Creating classes for individual nodes

2012-04-16 Thread Josh
Thanks everyone! This is a good start. I'll have to research most of this but at least I know what to research now. Thanks. Josh On Apr 12, 10:19 am, Brian Gallew wrote: > I'm absolutely with John on this.  As an example, for our JBoss application > we need the configur

Re: [Puppet Users] Unable to access hash elements directly from templates

2012-04-12 Thread Josh
Eventually I worked this out (nothing like trying every possible combination eh), solution was to remove the $ at the start as you said and also quote the keys in single quotes like so: TEST: <%= myhash['key']['subkey1'] %> Thanks again for your help Josh -- You rec

Re: [Puppet Users] Unable to access hash elements directly from templates

2012-04-12 Thread Josh
> ... line) 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/d/msg/puppet-users/-/VFGB1obBa8QJ. To post to this group, send email to puppet-users@googlegroups.com. T

Re: [Puppet Users] Unable to access hash elements directly from templates

2012-04-12 Thread Josh
at before. I get the error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template mymodule/test.erb: Could not find value for 'key' at /etc/puppet/modules/mymodule/manifests/config.pp:22 on node pc01.domain.com Thanks Josh -- You received thi

[Puppet Users] Creating classes for individual nodes

2012-04-11 Thread Josh
classes for each individual node that has the config files. Is this the best way to do this or does it go against the purpose of using puppet? Also, for implementation, is it best practice to create a separate module and class for each node where the class includes only that module? Thanks. Josh

[Puppet Users] Unable to access hash elements directly from templates

2012-04-11 Thread Josh
ing in the template (i.e. "<%= $myhash[key][subkey1] %>") then it just spits out that string into the file rather than interpreting the data. I have similar errors if I try to use scope.lookupvar to explicitly specify where things are too. So, what am I doing wrong or is it just

[Puppet Users] Use of environments

2012-04-09 Thread Josh Baird
d using more generic environments for "prod," "dev, "qa," etc, but I think I lose from granularity by doing this. Thanks, Josh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send

Re: [Puppet Users] Getting started

2012-04-09 Thread Josh Cooper
running Puppet on windows (=no > >> repositories available)? > > > But an MSI is available for windows: > http://downloads.puppetlabs.com/windows > > Cool, even better. Since when does a Puppet MSI exist? > The Puppet 2.7.12 MSI was released at the same time as t

Re: [Puppet Users] Issue with puppet windows

2012-04-02 Thread Josh Cooper
Hi Marco, On Mon, Apr 2, 2012 at 1:17 PM, Marco Parra D. wrote: > HI Josh, > > The program was uninstalled using Add /remove Feature, I found the file > C:\ProgramData\PuppetLabs\puppet\var\db\package\msi\Universal Forwarder.yml > on the windows agent side, when I removed t

Re: [Puppet Users] Issue with puppet windows

2012-04-02 Thread Josh Cooper
un > info: Retrieving plugin > info: Caching catalog for cscltest01.office.com > info: Applying configuration version '1333133419' > err: /Stage[main]/Splunk-mp/Service[SplunkForwarder]: Could not evaluate: > Cannot get status of SplunkForwarder, error was: The specified

Re: [Puppet Users] Re: File copy on puppet windows failed!

2012-03-29 Thread Josh Cooper
Hi Marco, On Thu, Mar 29, 2012 at 10:29 AM, Josh Cooper wrote: > Hi Marco, > > On Thu, Mar 29, 2012 at 6:34 AM, mparrad wrote: > >> Hi guys, I check my fileserver.conf file, and I see that >> /etc/puppet/files was allowed to serve files, and also modules, >> >&

Re: [Puppet Users] Re: File copy on puppet windows failed!

2012-03-29 Thread Josh Cooper
iles/splunkforwarder-4.3-**115073-x64-release.msi >> at /etc/puppet/modules/splunk/**manifests/init.pp:31 >> notice: Finished catalog run in 0.33 seconds >> notice: /File[C:/ProgramData/**PuppetLabs/puppet/var/state/** >> last_run_summary.yaml]/**content: >> >> Regar

Re: [Puppet Users] Re: Puppet Windows exec

2012-03-23 Thread Josh Cooper
e 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

Re: [Puppet Users] Puppet 2.7.12 on Windows

2012-03-21 Thread Josh Cooper
nAppData is typically c:\Documents and Settings\All Users\ApplicationData. On 2008, it is typically C:\ProgramData. And Puppet's data directory is stored within there, e.g. C:\Documents and Settings\All Users\ApplicationData\PuppetLabs\puppet\etc\puppet.conf. Note on 2008, the C:\ProgramData d

Re: [Puppet Users] Puppet Agent on Windows - High CPU Usage

2012-03-08 Thread Josh Cooper
On Thu, Mar 8, 2012 at 8:47 AM, Josh Cooper wrote: > HI Matt, > > On Thu, Mar 8, 2012 at 6:45 AM, Matt Mencel wrote: > >> Hi Josh, >> >> On Wed, Mar 7, 2012 at 6:12 PM, Josh Cooper wrote: >> >>> Hi Matt, >>> >>> On Wed, Mar 7, 2

Re: [Puppet Users] Puppet Agent on Windows - High CPU Usage

2012-03-08 Thread Josh Cooper
HI Matt, On Thu, Mar 8, 2012 at 6:45 AM, Matt Mencel wrote: > Hi Josh, > > On Wed, Mar 7, 2012 at 6:12 PM, Josh Cooper wrote: > >> Hi Matt, >> >> On Wed, Mar 7, 2012 at 2:58 PM, Matt Mencel wrote: >> >>> I recently noticed that the Windows ho

Re: [Puppet Users] Puppet Agent on Windows - High CPU Usage

2012-03-07 Thread Josh Cooper
r.bat --timing 2. puppet.bat agent --test --debug This host is a Windows 2008 VMware VM (VSphere 5) with 2vCPUs and 4GB of > RAM assigned. It has no CPU or Memory resource limits (set to unlimited). > No reservations (set to 0). CPU and memory resource shares are set to > "High".

Re: [Puppet Users] Puppet windows File permissions

2012-03-01 Thread Josh Cooper
Hi Marco, On Thu, Mar 1, 2012 at 6:17 AM, Marco Parra D. wrote: > Hi Josh, thank you for reply, > > On 29-02-2012 19:12, Josh Cooper wrote: > > Hi Marco, > > On Wed, Feb 29, 2012 at 10:52 AM, Marco Parra D. > wrote: > >> Hi Josh, >> I'm runnig from

Re: [Puppet Users] Re: Windows Puppet 2.7.12rc1-7-g281901e hands at end of run

2012-02-29 Thread Josh Cooper
ning `puppet agent` is that on Unix we daemonize by default -- the current process does a fork/exec, and the daemonized child does setsid, closes stdin/out/err fds, etc. On Windows, we do not support daemonizing, so the puppet run (and subsequent event loop) occur in the current process until interr

Re: [Puppet Users] Puppet windows File permissions

2012-02-29 Thread Josh Cooper
Hi Marco, On Wed, Feb 29, 2012 at 10:52 AM, Marco Parra D. wrote: > Hi Josh, > I'm runnig from cmd.exe, I'm using Administrator account on the windows > box, this is the output for the command that you asked: > > C:\Users\Administrator>whoami /

Re: [Puppet Users] Puppet windows File permissions

2012-02-29 Thread Josh Cooper
st.txt]/content: content > changed '{md5}b3589a284c00ce9a67dd42ccaf15e46d' to > '{md5}881bfbf113937635f5c35241ed2' > notice: Finished catalog run in 8.25 seconds > notice: > /File[C:/ProgramData/PuppetLabs/puppet/var/state/last_run_summary.yaml]/content: > >

Re: [Puppet Users] Windows Puppet 2.7.12rc1-7-g281901e hands at end of run

2012-02-29 Thread Josh Cooper
:/Dev/tools/Ruby187/lib/ruby/site_ruby/1.8/puppet/util/ > command_line.rb:69:in `e > xecute' > C:/Dev/tools/Ruby187/bin/puppet:4 > err: Failed to apply catalog: Parameter source failed: Cannot use > relative URLs > 'WN7X64-6MYJ5QA\\source\\win_test_file.txt' at /

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

2012-02-28 Thread Josh Cooper
t; > > > This works properly if running it as a test and sets the password. As > > > soon as you start the service and the log fills up with: > > > Puppet (err): Could not run: fork() function is unimplemented on this > > > machine > > > > Igor, > > &

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

2012-02-27 Thread Josh Cooper
normally contains line numbers. How did you install ruby and puppet? Can you run the following: cd c:\Ruby187\bin ruby -v ruby -e "require 'puppet'; puts Puppet[:daemonize]" ruby -e "require 'puppet'; puts Puppet.features.microsoft_windows?" Thanks, Josh -

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

2012-02-27 Thread Josh Cooper
n you set the trace[1] option in puppet.conf[2]. Restart the service, and reply with the backtrace? Thanks, Josh [1] http://docs.puppetlabs.com/references/stable/configuration.html#trace [2] http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows#Settings -- Josh Cooper Developer, Puppet L

Re: [Puppet Users] Can not retrieve file from puppet master linux to puppet agent windows

2012-02-27 Thread Josh Cooper
ll want to use the latest 2.7.x release: https://groups.google.com/group/puppet-announce/browse_thread/thread/2d5daed2291962c2 Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to t

Re: [Puppet Users] Re: Puppet on Windows - client installer?

2012-02-22 Thread Josh Cooper
version available for you to try. It'd be great to get your feedback before we release. I'll ping you separately tomorrow. If anyone else is interested in giving it a whirl, please send an email to me directly. Thanks, Josh -- Josh Cooper Developer, Puppet Labs -- You received this

Re: [Puppet Users] Puppet agent fails to start on Windows Server 2008 with --listen option

2012-02-20 Thread Josh Cooper
gt; 404:in `exit_on_fail' >from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/application.rb: > 309:in `run' >from D:/Ruby187/lib/ruby/site_ruby/1.8/puppet/util/ > command_line.rb:69:in `execute' >from D:/Ruby187/bin/puppet:4 > > I've tried

Re: [Puppet Users] Re: Puppet on Windows

2012-02-17 Thread Josh Cooper
out and update the ticket with your findings: https://projects.puppetlabs.com/issues/11408 Thanks, 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 pupp

Re: [Puppet Users] Puppet on Windows

2012-02-16 Thread Josh Cooper
8 encoding. The text 'Mitteleuropõische Zeit' should be UTF8 encoded as '4D 69 74 74 65 6C 65 75 72 6F 70 C3 B5 69 73 63 68 65 20 5A 65 69 74 20' (in hex). The sequence 'e4 69 73' is most definitely an illegal UTF8 sequence. Can you file a ticket against puppet? Tha

Re: [Puppet Users] Has anybody tried puppet in combination with NSIS installers?

2012-02-08 Thread Josh Cooper
r windows > systems). > Puppet can currently only manage msi packages on Windows, see https://projects.puppetlabs.com/issues/11870. For more general information about Puppet's windows support, see the wiki page at http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows Thanks, Josh -- Josh

Re: [Puppet Users] Puppet on Windows - client installer?

2012-01-26 Thread Josh Cooper
eduled tasks to run puppet on a specified interval. It does mean you couldn't `puppet kick` these agents. Would that work in your environment? Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" g

Re: [Puppet Users] Re: windows filepath error

2012-01-23 Thread Josh Cooper
On Mon, Jan 23, 2012 at 6:55 AM, tborthwick wrote: > Thanks, I didn't realize it had to be a local file. I've updated the package description on the Windows wiki page: http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Windows?version=63 Josh -- Josh Cooper Developer

Re: [Puppet Users] windows filepath error

2012-01-20 Thread Josh Cooper
want to install, is the one you downloaded from your module? If so, then you just need: package { 'win_test': ensure => 'installed', source => 'c:/test/win_test_file' } Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you ar

Re: [Puppet Users] Windows User Management - Hashed Passwords in Manifest

2012-01-13 Thread Josh Cooper
f the issue is that knowing the hash is equivalent to knowing your password[1]. One way of dealing with this would be to encrypt the cleartext password with the agent's public key, add it to the manifest, and then have the windows user provider on the agent decrypt with its private key, t

Re: [Puppet Users] Re: Making a system user member of a Puppet managed group

2012-01-04 Thread Josh Cooper
oup, or 'groups' as an attribute of the user. 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

[Puppet Users] Open Source Team Iteration (ending 12/30/2011)

2012-01-02 Thread Josh Cooper
e provider to support the source parameter, as well as improving the pacman spec tests. 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@go

Re: [Puppet Users] puppet 2.7.9 on Windows XP fails with "win32-service(0.7.1 not >= 0)"

2012-01-01 Thread Josh Cooper
ng ruby 1.8.7 patchlevel 334, I've seen similar problems with later versions. 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@googlegroup

Re: [Puppet Users] Windows Client DFS share Access

2011-12-29 Thread Josh Cooper
but most likely it doesn't work when referencing the share as a UNC path. See https://projects.puppetlabs.com/issues/8657. However, if you can map the share to a drive, e.g. net use z: \\server\share, then that should definitely work. Josh -- Josh Cooper Developer, Puppet Labs -- You received

Re: [Puppet Users] Re: Ruby error when running puppet agent on host

2011-12-28 Thread Josh Cooper
eases in this series will only be issues to address security concerns"[1] I'd recommend upgrading to the latest 2.7.x version to see if the error persists, and if so, open a ticket. Josh [1] http://groups.google.com/group/puppet-announce/browse_thread/thread/1b51a0bfb662082f On Wed, Dec

Re: [Puppet Users] Could not autoload active_record: uninitialized constant ActiveRecord

2011-12-28 Thread Josh Cooper
eviewing the stored config page here: http://projects.puppetlabs.com/projects/1/wiki/Using_Stored_Configuration 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, s

Re: [Puppet Users] Ubuntu 11.10 EC2 Instance : Hostname Mistmatch Issue

2011-12-28 Thread Josh Cooper
esolve this: http://docs.puppetlabs.com/guides/troubleshooting.html 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 fro

Re: [Puppet Users] puppet agent 2.7.x slowness

2011-12-27 Thread Josh Cooper
We fixed a performance related issue, especially with recursively managed files, in 2.7.8 agents. See http://projects.puppetlabs.com/issues/9671 for more information. Josh On Dec 27, 2011, at 3:09 AM, milebite wrote: > Hi there, > > I've recently tried 2.7.1 puppet master and

Re: [Puppet Users] Windows

2011-12-20 Thread Josh Cooper
Hi Brian, Puppet support on Windows has evolved considerably since you last tried. I recommend looking at this wiki page describing how to get started, what types are supported, and other Windows considerations: http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows Josh On Thu, Dec 15

Re: [Puppet Users] Re: Error 400 on SERVER: Could not write /var/lib/puppet/ssl/ca/requests/node13.pem

2011-12-12 Thread Josh Cooper
The issue is that puppet can't find a user provider for your system, and without that, it can't manage file ownership. What is the output of the following? $ ruby -e "require 'puppet/type/user'; Puppet::Type::User.provider_hash.each_pair do |k,v| puts \"#{k}=#{v.su

Re: [Puppet Users] Error while applying manifests

2011-12-12 Thread Josh Cooper
ppet/facts > Got 1 failure(s) while initializing: change from directory to file > failed: Could not set 'file on ensure: Is a directory - /var/lib/ > puppet/facts > > This is https://projects.puppetlabs.com/issues/9491. Comment out the 'factdest' property from your puppet.conf

[Puppet Users] Open Source Team Iteration and Planning Summary

2011-12-12 Thread Josh Cooper
Puppet should allow rubygems to 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 Josh -- Josh Cooper D

Re: [Puppet Users] Win32API error with 2.7.8

2011-12-09 Thread Josh Cooper
Hi Greg, On Fri, Dec 9, 2011 at 3:27 PM, Greg Sutcliffe wrote: > Hi Josh, > > I think I've found it. I fired up a spare (clean) Debian VM for testing - > and no errors. So I poked further... > > A while back, I was plagued by this on my arch clients: > >

Re: [Puppet Users] Win32API error with 2.7.8

2011-12-09 Thread Josh Cooper
both windows and posix simultaneously, amazing! Can you pastie the output of facter from the agent? And the output from: ruby -e "require 'rbconfig'; puts Config::CONFIG.inspect" Thanks, Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subs

Re: [Puppet Users] Win32API error with 2.7.8

2011-12-09 Thread Josh Cooper
nger here: > > /usr/local/lib/site_ruby/1.8/puppet/util/adsi.rb:30:in `computer_name' > > I've had a quick poke about in the requires but I can;t work out why two > different OSes are trying to execute Windows code any pointers? > It's definitely running code that it shou

Re: [Puppet Users] Re: What's the canonical way to enforce permissions/ownership on a directory subtree?

2011-11-30 Thread Josh Cooper
take a very > long time due to the other effect noted above. > Also if you are running 2.7.0 to 2.7.6, we recently fixed a performance issue, which you'd see when recursing large numbers of files: https://projects.puppetlabs.com/issues/9671 It's fixed in 2.7.7 Josh -- Josh Coope

Re: [Puppet Users] Re: Puppet Windows: Spaces in file paths a problem?

2011-11-28 Thread Josh Cooper
On Mon, Nov 28, 2011 at 3:56 PM, Mohamed Lrhazi wrote: > > > Thanks Josh. > > I run into an issue where this Exec would fail if the variable has a > space in it: > > command => "$splunk_home\\bin\\splunk.exe start", > > but then again that could happen

Re: [Puppet Users] Re: Puppet Windows: Spaces in file paths a problem?

2011-11-28 Thread Josh Cooper
y would not load from files in directories with spaces. set PWD=%CD% for %%f in ("%PWD%") do set SHORT_PWD=%%~sf set RUBYLIB=%RUBYLIB%;%SHORT_PWD%/vendor/facter/lib set RUBYLIB=%RUBYLIB:\=/% Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to t

Re: [Puppet Users] Re: puppet agent 2.7 on windows

2011-11-21 Thread Josh Cooper
On Sun, Nov 20, 2011 at 4:17 PM, Josh Cooper wrote: > Hi Ravi, > > On Sun, Nov 20, 2011 at 11:07 AM, Ravi wrote: > >> Thanks for your reply. Tried this and was able to get the config file. >> But i now have a strange problem - The agent starts up and in the log >>

Re: [Puppet Users] Puppet on windows: File resource problem

2011-11-20 Thread Josh Cooper
file compare) on Windows in lieu of diff, but it doesn't work so well. If you know of another utility that comes pre-installed with Windows that can do diffs, I'd love to hear about it. Otherwise, we'll have to set show_diff to false by default on Windows. Thanks, Josh -- Josh

Re: [Puppet Users] Re: puppet agent 2.7 on windows

2011-11-20 Thread Josh Cooper
acts" and try again. You'll need to do this for 2 other fact related properties, then you should be good. 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

Re: [Puppet Users] Facter Windows: domain is "none"

2011-11-19 Thread Josh Cooper
Facter uses WMI to retrieve the DNSDomain property for the first IPEnabled interface, similar to what is done on other platforms. If you've added a new IPEnabled interface that doesn't have a DNSDomain, then facter may be choosing that one first. Try running the following: wmic path Wi

Re: [Puppet Users] msi package provider: Invalid parameter install_options

2011-11-18 Thread Josh Cooper
Hi Mohamed, On Fri, Nov 18, 2011 at 4:24 PM, Mohamed Lrhazi wrote: > Actually hold on.. am not sure what you are asking me to do. > > Can you run this command and sent the output back: C:\> puppet apply --debug --verbose --trace Thanks, Josh -- Josh Cooper Developer, Puppet L

Re: [Puppet Users] msi package provider: Invalid parameter install_options

2011-11-18 Thread Josh Cooper
'msiexec.exe /qn /norestart /i C:\\TEST\\splunk-4.2.4-110225-x64-release.msi INSTALLDIR=C:\\splunk' notice: /Stage[main]//Package[splunk]/ensure: created ... Can you use the same command above when installing and let me know what the error is? What's strange is that puppet is reportin

Re: [Puppet Users] Puppet on windows: File resource problem

2011-11-18 Thread Josh Cooper
Hi Mohamed, This is issue https://projects.puppetlabs.com/issues/10417 Windows doesn't have a 'diff.exe' command by default. You can work around this by setting show_diff = false or by specifying appropriate values for 'diff' and 'diff_args' Josh On Fri, Nov

Re: [Puppet Users] Re: How to debug intermittent puppet catalog failure

2011-11-15 Thread Josh Cooper
gt; > We recently fixed a bug[1] that caused puppet to take a long time to run when managing many files (more than an order of magnitude slower in 2.7 than 2.6). For example, managing a directory recursively with 1k+ files. The bug is present in 2.7.0-2.7.6, and fixed in 2.7.7rc2, released yesterday.

Re: [Puppet Users] Puppet Windows: test if non-MSI package already installed

2011-11-11 Thread Josh Cooper
Products" > for the existence of the program. > 3.) Run Puppet Agent less often on the client so it is "not such a big > deal". > > If the packages are "well-behaving" they should follow these guidelines during install/uninstall[1]. In particular, they should ad

[Puppet Users] Re: [foreman-users] New Foreman Release

2011-11-09 Thread Josh Baird
Nice, any screenshots of the new UI?! Josh On Wed, Nov 9, 2011 at 7:47 AM, Ohad Levy wrote: > So, its been a long time, and finally we got a new foreman release :) > > Download - http://theforeman.org/foreman-latest.tar.bz2 > RPMS http://yum.theforeman.org > DEB - http://deb

Re: [Puppet Users] Announce: Puppet 2.7.6rc1 available

2011-10-04 Thread Josh Cooper
ssion, you are welcome to > send > it to puppet-users. Instructions for getting started on Windows can be found here. http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Windows -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the G

[Puppet Users] Help with cloud provisioner

2011-10-02 Thread Josh
is, what happens next? What am I missing? I have a new instance with puppet on it but since there's no catalog, the agent (if it were still running) wouldn't know what to ask for. Thanks -Josh -- You received this message because you are subscribed to the Google Groups "Pup

<    1   2   3   4   5   6   >