Hi,
I'm new to puppet and hope somebody can help me. I have a master server 
with a few Mac and Windows Agents. I created a custom fact for windows that 
will show the current logged in users Sid. I have a manifest that will edit 
the HK Users registry Keys. My issue is when I run the agent it fails 
because it wants to place the header and other stuff not needed from the 
string in the path. I need the Sid only for it to work. It works if I 
manually insert the Sid. I'm thinking my answer is regsubst but I really 
don't know much about it. what I need to do is remove the first few 
characters and the last few. Can anyone help me out or point me in a 
direction? Or is there something I can do in my fact.rb to only show the 
raw data? Thank you in advance this one has me pulling out my hair.
Gary

-- 
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/f7db0e64-68f2-47c0-a52b-bbb3bb83b951%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to