HI Josh

It seems the display name was wrong.

 service { 'nsclient':
            name    => 'NSClientpp',
            ensure  => running,
            enable  => true,
            require => Package['nsclient'],
        }


That now works.

Thanks for the help.

On Sunday, December 1, 2013 9:37:58 PM UTC, Josh Cooper wrote:
>
>
>
> On Sunday, December 1, 2013, Jeffrey Smith wrote:
>
>> Hi Felix,
>>
>> The DisplayName from the registry key 
>> HKEYY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\NSClientpp\DisplayName is 
>> "NSClient++ (x64)"  in binary it is 
>>
>> A hexdump of whats in my puppet manifest on linux gives
>>
>> 534e 6c43 6569 746e 2b2b 2820 3678 2934
>> 000a
>>
>> while what regedit says its storing is
>>
>> 4e 00 53 00 43 00 6c 00
>> 69 00 65 00 6e 00 74 00
>> 2b 00 2b 00 20 00 28 00
>> 78 00 36 00 34 00 29 00
>> 00 00
>>
>> Is it possible its a windows utf16 to utf8 on Linux issue? 
>>
>> On Friday, November 29, 2013 1:01:25 PM UTC, Felix.Frank wrote:
>>>
>>> Kaustubh's remarks may still have merit, though. Perhaps there is a 
>>> subtle typo (think trailing space or similar). Have you copy-pasted the 
>>> name from an authoritative source? 
>>>
>>> Regards, 
>>> Felix 
>>>
>>> On 11/29/2013 01:41 PM, Jeffrey Smith wrote: 
>>> > 
>>> > The service name is "NSClient++ (x64)" and its listed there its just 
>>> not 
>>> > starting it as its saying it cant find it. 
>>> > 
>>> > On Friday, November 29, 2013 12:13:29 PM UTC, kaustubh chaudhari 
>>> wrote: 
>>> > 
>>> >     from what i have seen, this means you are not using the correct 
>>> >     service name. 
>>> > 
>>> >     Install NS Client on a windows box manually, go to run -> 
>>> >     services.msc -> Look for NS service in the properties of that you 
>>> >     will see the service Name, Use this service name if your code! 
>>> > 
>>> >     Hope this help! 
>>> > 
>>> >     -Kaustubh 
>>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Puppet Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to puppet-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/puppet-users/8a6ba694-1308-4276-aea0-bab2ac00a8cc%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
> You'll want to use the short name of the service not the display name:  
> http://docs.puppetlabs.com/references/latest/type.html#service-attribute-name
>
> The easiest way to find out what name puppet uses is to run 'puppet 
> resource service' when the service is installed and see what comes back.
>
> Josh
>
>
> -- 
> Josh Cooper
> Developer, Puppet Labs
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/610eac43-4227-4bda-926d-ceb8393a6453%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to