When creating a user I wanted to mimic our AD usernames however they have a dot in them first.last. I have tried to escape out however chef will not let me create it with the dot notation. Is this something that chef does not allow or is there a way to incorporate it.
Thanks
We have the same issue. We translate dot (.) to underscore(_) and use the following on client workstations in knife.rb:
user = ENV['OPSCODE_USER'] || ENV['USER'].gsub('.', '_')
client_key "#{current_dir}/#{user}.pem"
Note the ENV['OPSCODE_USER']
is legacy, the importand stuff is the gsub