You didn't specify, what version you use, so I assume one of PE2015
versions.
This version moved location where it expects environments to be, so you
need to either adjust your hiera or modify settings in console for class
pe_r10k
This is how my r10k.yaml looks for Windows supporting master:
#
On 7 December 2015 at 19:30, Peter Berghold wrote:
> Nevermind... figured out what was going on.. and fixed that problem and
> now a more bugs to squash...
>
> How do I raise a failed exception in a provider (this before I start
> googleing) :-)
>
You can use the fail method as seen here.
http
Hi,
I can't figure out how to include a single quoted string into a command,
not matter what escaping I do.
Here is a simplified code :
$string = '\'a quoted string\''
exec { 'show string':
command => "echo \'I want to see ${string}\'",
logoutput => true,
path => '/bin:/usr/bin',
}