and
lets me remove all the extraneous extra parameters I don’t need.
So in this case, provider inheritance wasn’t my friend.
From: Jim Ficarra
Sent: Thursday, January 22, 2015 6:26 PM
To: puppet-users@googlegroups.com
Subject: Re: [Puppet Users] Help with provider inheritance of Josh Cooper's
the realm of sanity, please feel free.
From: Jim Ficarra
Sent: Thursday, January 22, 2015 2:24 PM
To: puppet-users@googlegroups.com
Subject: [Puppet Users] Help with provider inheritance of Josh Cooper's Exec
PowerShell Provider
I'm as newbie as they come to both Ruby and custom provider
I'm as newbie as they come to both Ruby and custom provider development, so
apologies if I'm missing the obvious up front. :)
I want to write a custom type/provider to manage IIS Settings. I realize
that there are at least 3 IIS modules in the forge already (and we are
using one of them) but I
In our organization, we created a chocolatey package for the puppet client
hosted on our internal nuget server. We then created a powershell module that
includes several tools for our environment, one of which remotely invokes the
installation of chocolatey on windows systems in parallel, and
Have you declared the folder before the file resource? Something like this:
file {'c:/srv':
ensure = 'directory',
}
file {'c:/srv/newfile':
ensure= 'file',
source= 'puppet:///modules/mymodule/myfile.txt',
require= File['c:/srv'],
}
It's not clear what the source of your
whoops - disregard - I re-read and missed that the latter case was a linked
location.
-Original Message-
From: Jim Ficarra
Sent: Monday, September 01, 2014 2:59 PM
To: puppet-users@googlegroups.com
Subject: Re: [Puppet Users] windows mount points
Have you declared the folder before
You could setup setup the host-specific yaml as:
vhost:“first.example.com”
port: “80”
priority:“10”
docroot:“/var/www/first”
Then your module:
$vhost = hiera(‘vhost’)
$port = hiera(‘port’)
$priority = hiera(‘priority’)
$docroot: = hiera(‘docroot’)
If you mean installing a windows package (such as an MSI or EXE) – you should
review the package resource type documentation
https://docs.puppetlabs.com/puppet/latest/reference/resources_package_windows.html
https://docs.puppetlabs.com/references/latest/type.html#package
This works really well
Try the install_options attribute of the package type. You need to know what
the install option is for the JDK itself to go to another folder, then use the
install_options attribute in puppet.
http://docs.puppetlabs.com/references/latest/type.html#package-attribute-install_options
From:
-7u25-linux-x64. rpm
}
source =
/etc/puppetlabs/puppet/environments/development/modules/java_rpm/files/jdk-7u25-linux-x64
}
Thanks,
On Thursday, June 26, 2014 1:30:31 PM UTC-4, Jim Ficarra wrote:
Try the install_options attribute of the package type. You need to know what
the install option
a powershell prompt while the
PSModulePath was messed up.
This was a bit of a tough one to crack as the underlying powershell errors
were masked behind the ruby.
On Mon, Jun 23, 2014 at 1:10 PM, Rob Reynolds r...@puppetlabs.com wrote:
On Tue, Jun 17, 2014 at 3:55 PM, Jim Ficarra jimfica
Chocolatey is installed as a shared module on the puppet master. Below is
the specific part of the puppet code that uses the chocolatey provider to
install a custom package.
class install_carbon {
package {'carbon':
ensure = '1.7',
provider = 'chocolatey',
}
}
This class is part of a
the chain to the provider, let's execute puppet agent -td
--verbose --trace
This should really get us to what might be causing the error.
On Tue, Jun 17, 2014 at 12:51 PM, Jim Ficarra jimfica...@gmail.com
wrote:
Chocolatey is installed as a shared module on the puppet master. Below
us to what might be causing the error.
On Tue, Jun 17, 2014 at 12:51 PM, Jim Ficarra jimfica...@gmail.com wrote:
Chocolatey is installed as a shared module on the puppet master. Below is
the specific part of the puppet code that uses the chocolatey provider to
install a custom package
? (choco /?)
Moving up the chain to the provider, let's execute puppet agent -td --verbose
--trace
This should really get us to what might be causing the error.
On Tue, Jun 17, 2014 at 12:51 PM, Jim Ficarra jimfica...@gmail.com wrote:
Chocolatey is installed as a shared module
Did you try using the package resource over the exec resource? I install .NET
4.0 using the package resource and it works just fine on Windows 2008 R2
Enterprise Standard, though I haven’t tried on Data Center but I’m not sure
how different it would be. I’ve done something similar with .net
I’m not familiar with how the Reimann monitoring client runs – but if you run
it at the command line and it runs within the shell and requires the command
shell to run perpetually, you could try “start.exe reimannclient.exe” or
whatever the name of the exe is. There are a # of command line
On Mon, May 19, 2014 at 6:46 PM, Jim Ficarra jimfica...@gmail.com wrote:
Thanks for replying, Josh.
I just tried your suggestion but the same thing happens.
install_options = ['-silent', '-waitforcompletion', '-noconsole'.
'-responseFile', 'D:\Build\Ora11gclient.rsp'],
It spawns several
– that has saved me more than you can imagine!
If you have any additional thoughts, please feel free.
-Jim
From: Jim Ficarra
Sent: Saturday, May 24, 2014 10:01 PM
To: puppet-users@googlegroups.com
Subject: Re: [Puppet Users] Puppet for Windows - Problems with Oracle 11g
client install
To: puppet-users@googlegroups.com
Subject: Re: [Puppet Users] Puppet for Windows - Problems with Oracle 11g
client install
On Sun, May 18, 2014 at 10:57 AM, Jim Ficarra jimfica...@gmail.com wrote:
Trying the following in both package and exec providers
D:\Build\Oracle11gclient\setup.exe
Trying the following in both package and exec providers
D:\Build\Oracle11gclient\setup.exe -silent -waitforcompletion -noconsole
-responseFile D:\Build\Ora11gclient.rsp
I can run this at the command line and install Oracle 11g client
silently.Once I put it in a package or try to exec it, I get
21 matches
Mail list logo