Re: [Puppet Users] Puppet windows File permissions

2012-02-29 Thread Marco Parra D.
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 /groups GROUP INFORMATION - Group Name Type SID Attributes ===

Re: [Puppet Users] Puppet windows File permissions

2012-03-01 Thread Marco Parra D.
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. mailto:marco.parr...@gmail.com>> wrote: Hi Josh, I'm runnig from cmd.exe, I'm using Administrator account on the windows box, this i

Re: [Puppet Users] Puppet windows File permissions

2012-03-01 Thread Marco Parra D.
hu, Mar 1, 2012 at 6:17 AM, Marco Parra D. mailto:marco.parr...@gmail.com>> 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. mailto:marco.parr...@gmail.com>> wrote:

Re: [Puppet Users] Puppet windows File permissions

2012-03-01 Thread Marco Parra D.
Regards...! On 01-03-2012 14:57, Marco Parra D. wrote: Hi Josh, Looking in the web, I found the solution that you mentioned, c:\windows\Sysnative, and works perfect to me! thank you for your help C:\Users\Administrator>puppet agent --test notice: Ignoring --listen on onetime run info: Retriev

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

2012-03-29 Thread Marco Parra D.
Hi Josh, I re-read this page, and then I saw my mistake http://askubuntu.com/questions/61080/how-to-copy-file-to-all-clients-using-puppet Thank you josh for your answer...! I have another question, Is it possible to copy several files at once?, for example, *.msi files to the agent? or c

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

2012-03-29 Thread Marco Parra D.
Thank you so much.. Nan... I'll try this..! Regards.. On 29-03-2012 14:52, Nan Liu wrote: On Thu, Mar 29, 2012 at 10:47 AM, Marco Parra D. wrote: Hi Josh, I re-read this page, and then I saw my mistake http://askubuntu.com/questions/61080/how-to-copy-file-to-all-clients-using-p

Re: [Puppet Users] Issue with puppet windows

2012-04-02 Thread Marco Parra D.
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 the puppet agent install again the package perfect... / /I'm thinking in the case that a user

Re: [Puppet Users] Issue with puppet windows

2012-04-03 Thread Marco Parra D.
Hi Josh, I'll check that link, Thank you again for your help... Regards... On 02-04-2012 18:24, Josh Cooper wrote: Hi Marco, On Mon, Apr 2, 2012 at 1:17 PM, Marco Parra D. mailto:marco.parr...@gmail.com>> wrote: HI Josh, The program was uninstalled using Add /remove

[Puppet Users] How to modify a file content?

2012-04-16 Thread Marco Parra D.
Hi guys, I trying to modify a file on Windows using puppet, I got a template file like this: [default] host = SOmeNAme [WinEventLog:Security] disabled = 1 is copied using puppet to the windows machine as C:\Program Files\Soft1\inputs.conf And I need to replace the host line with the real na

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

2012-04-16 Thread Marco Parra D.
On 16-04-2012 12:55, Josh Cooper wrote: Hi Marco, On Mon, Apr 16, 2012 at 7:22 AM, Marco Parra D. mailto:marco.parr...@gmail.com>> wrote: Hi guys, I trying to modify a file on Windows using puppet, I got a template file like this: [default] host = SO

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

2012-04-16 Thread Marco Parra D.
Hi Josh On 16-04-2012 12:55, Josh Cooper wrote: Hi Marco, On Mon, Apr 16, 2012 at 7:22 AM, Marco Parra D. mailto:marco.parr...@gmail.com>> wrote: Hi guys, I trying to modify a file on Windows using puppet, I got a template file like this: [default] host = SO

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

2012-04-16 Thread Marco Parra D.
Hi Josh, Where can I find the complete fact's list to use on windows?... thank you in advance! Regards.. On 16-04-2012 12:55, Josh Cooper wrote: Hi Marco, On Mon, Apr 16, 2012 at 7:22 AM, Marco Parra D. mailto:marco.parr...@gmail.com>> wrote: Hi guys, I trying to modif

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

2012-04-16 Thread Marco Parra D.
Hi Kelsey, thank you, Are these the only list of facts?, What makes this list?, It's possible add more facts to windows? Thank you Regards.! On 16-04-2012 14:33, Kelsey Hightower wrote: On Mon, Apr 16, 2012 at 1:30 PM, Marco Parra D. mailto:marco.parr...@gmail.com>> wrote:

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

2012-04-16 Thread Marco Parra D.
Hi Josh On 16-04-2012 15:24, Josh Cooper wrote: Hi Marco, On Mon, Apr 16, 2012 at 10:45 AM, Marco Parra D. mailto:marco.parr...@gmail.com>> wrote: Hi Kelsey, thank you, Are these the only list of facts?, What makes this list?, I don't think we have a "facts suppo

[Puppet Users] Custom facts question on windows 2008 R2

2012-05-10 Thread Marco Parra D.
Hi guys, I'm trying to define a custom fact on windows puppet agent, I'm using the version 2.7.14. I made a powershell that checks for the state of a service and return true or false. If I execute it on powershell I got this: PS C:\programdata\PuppetLabs\facter\ext> .\udp_status.ps1 udp_status

Re: [Puppet Users] Re: Custom facts question on windows 2008 R2

2012-05-11 Thread Marco Parra D.
Hi Jeff, On 11-05-2012 0:08, Jeff McCune wrote: On Thu, May 10, 2012 at 1:08 PM, mparrad > wrote: Hi guys, I realized that If I make the file udp_status.rb and I put on D:\Program Files (x86)\Puppet Labs\Puppet\facter\lib\facter, that's where I install

Re: [Puppet Users] Re: Custom facts question on windows 2008 R2

2012-05-14 Thread Marco Parra D.
Hi Nan: On 10-05-2012 20:22, Nan Liu wrote: On Thu, May 10, 2012 at 1:08 PM, mparrad wrote: Hi guys, I realized that If I make the file udp_status.rb and I put on D:\Program Files (x86)\Puppet Labs\Puppet\facter\lib\facter, that's where I installed puppet from the MSI file, and I use the Power

Re: [Puppet Users] question about Cusctom Facts

2012-05-24 Thread Marco Parra D.
Hi Josh On 24-05-2012 16:13, Josh Cooper wrote: Hi Marco, On Thu, May 24, 2012 at 7:35 AM, mparrad wrote: Hi guys, I've been working with Puppet on Windows 2.7.14, I trying to use my own custom facts, but I have to put in on Windows Agent machine manually, I tried using pluginsync=true, and I

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

2012-09-10 Thread Marco Parra D.
Hi Josh, On 10-09-2012 13:24, Josh Cooper wrote: Hi Marco, On Thu, Sep 6, 2012 at 6:36 AM, mparrad wrote: Hi guys, I'm trying to add a domain user to the local group Administrators of windows, and I got this error: err: /Stage[main]/Userwindows/Group[Administrators]/members: change from Admin

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

2012-10-12 Thread Marco Parra D.
Hi, You could try this: $powerShell = 'C:\\Windows\\Sysnative\\WindowsPowerShell\\v1.0\\powershell.exe -ExecutionPolicy remotesigned' exec {'Install-service' : command => "${PowerShell} -File D:\\Powershell-Scripts\\scripts\\script.ps1", path => 'C:\windows\System32', require

Re: [Puppet Users] hiera doesn't works on puppet 3.8.4

2015-12-22 Thread Marco Parra D.
Hi Dirk, I used the foreman-installer to deploy foreman with puppet, I didn't install puppet, was foreman, maybe it was using the wrong hiera version. Regards. On 22-12-2015 11:16, Dirk Heinrichs wrote: Am 22.12.2015 um 14:39 schrieb mparrad: DEBUG: 2015-12-22 08:31:53 -0500: Cannot find dat

Re: [Puppet Users] hiera doesn't works on puppet 3.8.4

2015-12-22 Thread Marco Parra D.
Thank you for your response Dirk. Regards. On 22-12-2015 11:16, Dirk Heinrichs wrote: Am 22.12.2015 um 14:39 schrieb mparrad: DEBUG: 2015-12-22 08:31:53 -0500: Cannot find datafile /etc/puppetlabs/code/environments/development/hieradata/common.yaml, skipping nil The old server is CentOS 6.