We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recipe fails when "HOSTNAME" is not found in "/etc/sysconfig/network" Due to this line file.search_file_replace_line('^HOSTNAME', "HOSTNAME=#{fqdn}") https://github.com/3ofcoins/chef-cookbook-hostname/blob/develop/recipes/default.rb#L64
file.search_file_replace_line('^HOSTNAME', "HOSTNAME=#{fqdn}")
is it possible to "search + replace" or "insert" if that fails...?
The text was updated successfully, but these errors were encountered:
Fix 3ofcoins#33, Fix 3ofcoins#34
39b3b24
No branches or pull requests
Recipe fails when "HOSTNAME" is not found in "/etc/sysconfig/network"
Due to this line
file.search_file_replace_line('^HOSTNAME', "HOSTNAME=#{fqdn}")
https://github.com/3ofcoins/chef-cookbook-hostname/blob/develop/recipes/default.rb#L64
is it possible to "search + replace" or "insert" if that fails...?
The text was updated successfully, but these errors were encountered: