Last active
December 23, 2015 19:09
-
-
Save vinyar/6680674 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use_inline_resources | |
action :add do | |
log "My name is #{new_resource.name}" | |
registry_key "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System" do | |
values [{ | |
:name => "LegalNoticeCaption", | |
:type => :string, | |
:data => "#{new_resource.title_text}" | |
}, | |
{ | |
:name => "LegalNoticeText", | |
:type => :string, | |
:data => "#{new_resource.body_text}" | |
}] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment