So I am trying out CouchDB with hiera-http, and so far almost everything is
working nicely. I am running into an issue where fact's are not being
translated into usebale data. Meaning, in hiera, i have a definition:
*pdcemulator*%{clientcert}
When I do a hiera lookup, it comes back blank:
hie
I have a powershell script that I need to re-use several times in puppet.
Essentially it is a single line script that creates a new AD site. But, I
have three sites to create. From my understanding I need to use a
resource, but am having trouble getting it working. Here is my setup:
1.1.1","2.2.2.2"]
On Monday, October 13, 2014 1:48:46 PM UTC-4, Paul Ponzeka wrote:
>
> Josh, your a god among men. Thank you so much. It was the literal string
> for the variable that resolved it.
>
> On Monday, October 13, 2014 1:05:39 PM UTC-4, Josh Cooper wrote:
Josh, your a god among men. Thank you so much. It was the literal string
for the variable that resolved it.
On Monday, October 13, 2014 1:05:39 PM UTC-4, Josh Cooper wrote:
>
> Hi Paul,
>
> On Mon, Oct 13, 2014 at 7:15 AM, Paul Ponzeka > wrote:
>
>> Thanks for this
warders = '1.1.1.1'
) {
anchor { 'windows_dns::begin': } ->
class{'windows_dns::install': } ->
class{'windows_dns::config': } ->
class{'windows_dns::service': } ->
anchor { 'windows_dns::end': }
}
Any help would be ama
I tried that and it just came up blank. Am I suppose to pass it as a
powershell parameter?
On Thursday, October 9, 2014 5:18:05 PM UTC-4, Paul Ponzeka wrote:
>
> Thanks josh, so in my template file setdnsforwarders.ps1 is this the
> correct syntax?
>
> $outside = <%= sc
exec { "Executing a script":
>> command => "powershell.exe -ExecutionPolicy ByPass -File
>> ${script} ${param1}",
>> unless => "powershell.exe -ExecutionPolicy ByPass -command
>> \"here any command on powershell \"&
C-4, Juan Andres Ramirez wrote:
>
> if you want execute a powershell file:
>
> command => "powershell.exe -ExecutionPolicy ByPass -File file.ps1
> ${param1}"
>
> On Thursday, October 9, 2014 4:22:14 PM UTC-3, Paul Ponzeka wrote:
>>
>> I am using Puppet insta
I am using Puppet installed with the powershell module. I am struggling
with how to pass a puppet variable through to powershell. For instance I
have the following in my module *init.pp* file:
class windows_dns(
$forwarders = '1.1.1.1'
) {
anchor { 'windows_dns::begin': } ->
class{'win