summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-08-13 05:28:48 -0700
committerJay Mundrawala <jdmundrawala@gmail.com>2015-08-25 09:04:44 -0700
commit6bd15a82bab013538826fc74a0c9dd7946e7dd7c (patch)
tree027b2d6e1a0af3a32fe29945cae0c439c08ec0a1 /spec
parentbd0cfc0b40bc0eeb04c409c54678b3429ce5b677 (diff)
downloadchef-6bd15a82bab013538826fc74a0c9dd7946e7dd7c.tar.gz
Add ps_credential dsl method to dsc_script
You can now do the following: ```ruby dsc_script 'create-foo-user' do code <<-EOH User FooUser00 { Ensure = "Present" UserName = 'FooUser00' Password = #{ps_credential('FooBarBaz1!')} } EOH configuration_data <<-EOH @{ AllNodes = @( @{ NodeName = "localhost"; CertificateID = 'A8DB81D8059F349F7EF19104399B898F701D4167' } ) } EOH end ```
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions