On Friday, October 11, 2013 8:59:10 AM UTC-5, Werner Flamme wrote:
>
> I'm not Jakub (the OP), it is not my problem.
>
> I'm only the one who wanted to know where the "couple of errors" are.
>
>
Peter was mistaken. There are no actual errors in the OP's manifest, and
it might work in some en
Guys,
check this out:
http://docs.puppetlabs.com/puppet/3/reference/lang_expressions.html
Either way should work.
@Jakub, 2 things I see here:
* you should generally make sure to use the right scope in your variables.
I'm assuming from your code that you want the global facter variable
hostnam
Peter Bukowinski [11.10.2013 15:57]:
> On Oct 11, 2013, at 9:06 AM, Werner Flamme wrote:
>
>> Peter Bukowinski [11.10.2013 14:39]:
>>> On Oct 11, 2013, at 5:48 AM, Jakub Bittner wrote:
>>>
Hello,
I created puppet class and I want the file operation to be executed on all
serv
On Oct 11, 2013, at 9:06 AM, Werner Flamme wrote:
> Peter Bukowinski [11.10.2013 14:39]:
>> On Oct 11, 2013, at 5:48 AM, Jakub Bittner wrote:
>>
>>> Hello,
>>>
>>> I created puppet class and I want the file operation to be executed on all
>>> servers but not on server with hostname "'server1.
Peter Bukowinski [11.10.2013 14:39]:
> On Oct 11, 2013, at 5:48 AM, Jakub Bittner wrote:
>
>> Hello,
>>
>> I created puppet class and I want the file operation to be executed on all
>> servers but not on server with hostname "'server1.domain.com". I tried this
>> class, but it does not work. Is
On Oct 11, 2013, at 5:48 AM, Jakub Bittner wrote:
> Hello,
>
> I created puppet class and I want the file operation to be executed on all
> servers but not on server with hostname "'server1.domain.com". I tried this
> class, but it does not work. Is there any other way? Thanks
>
>
> class te
Hello,
I created puppet class and I want the file operation to be executed on all
servers but not on server with hostname "'server1.domain.com". I tried this
class, but it does not work. Is there any other way? Thanks
class test {
if $hostname != 'server1.domain.com' {
file