Re: [Puppet Users] Trouble using type Stdlib::Windowspath

2017-01-13 Thread Henrik Lindberg
On 13/01/17 12:16, Tiago Delboni wrote: Em quarta-feira, 11 de janeiro de 2017 15:38:28 UTC-2, Henrik Lindberg escreveu: Maybe there is something wrong with that type. What does this give you: notice('C:\a\valid\path' =~ Stdlib::Windowspath) If that fails, please report th

Re: [Puppet Users] Trouble using type Stdlib::Windowspath

2017-01-13 Thread Tiago Delboni
Em quarta-feira, 11 de janeiro de 2017 15:38:28 UTC-2, Henrik Lindberg escreveu: > > > Maybe there is something wrong with that type. > What does this give you: > > notice('C:\a\valid\path' =~ Stdlib::Windowspath) > > If that fails, please report the issue against stdlib. > (Or I am blind

Re: [Puppet Users] Trouble using type Stdlib::Windowspath

2017-01-11 Thread Henrik Lindberg
On 10/01/17 13:57, Tiago Delboni wrote: Hi Henrik, thanks for helping. I didn't have a "metadata.json" so I created one with "puppet module generate". Unfortunately, it is still not working - puppet apply is showing the same error: "Expected parameter 'windowspath_param' of 'Class[Mymodule::Myma

Re: [Puppet Users] Trouble using type Stdlib::Windowspath

2017-01-11 Thread Henrik Lindberg
On 09/01/17 14:22, Martin Alfke wrote: Hi Henrik, A non-existent type will in some versions of puppet be taken as being a resource type. One thing you can check is that your module (where you are using Stdlib::XXX types have declared a dependency on Stdlib in its metadata. If it does not ha

Re: [Puppet Users] Trouble using type Stdlib::Windowspath

2017-01-10 Thread Tiago Delboni
Hi Henrik, thanks for helping. I didn't have a "metadata.json" so I created one with "puppet module generate". Unfortunately, it is still not working - puppet apply is showing the same error: "Expected parameter 'windowspath_param' of 'Class[Mymodule::Mymanifest]' to have type Stdlib::Windowspa

Re: [Puppet Users] Trouble using type Stdlib::Windowspath

2017-01-09 Thread Martin Alfke
Hi Henrik, > A non-existent type will in some versions of puppet be taken as being a > resource type. > > One thing you can check is that your module (where you are using Stdlib::XXX > types have declared a dependency on Stdlib in its metadata. If it does not > have this it will not find type

Re: [Puppet Users] Trouble using type Stdlib::Windowspath

2017-01-09 Thread Henrik Lindberg
On 09/01/17 13:02, Tiago Delboni wrote: Hi! I'm having trouble using type Stdlib::Windowspath, from module puppetlabs/stdlib, as a parameter type in a manifest. Is this "custom type" really available? In https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/types/windowspath.pp it is defin

[Puppet Users] Trouble using type Stdlib::Windowspath

2017-01-09 Thread Tiago Delboni
Hi! I'm having trouble using type Stdlib::Windowspath, from module puppetlabs/stdlib, as a parameter type in a manifest. Is this "custom type" really available? In https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/types/windowspath.pp it is defined using the "type" word, which, acco