diff --git a/modules/people/README.md b/modules/people/README.md index d3e2e76..4afcedf 100644 --- a/modules/people/README.md +++ b/modules/people/README.md @@ -19,6 +19,8 @@ class people::jbarnette { } ``` +Note that if your GitHub username contains dashes, you should replace them by underscores in both the manifest name and the class name. + ## Projects While you _can_ include projects one by one, sometimes you might just want diff --git a/script/boxen-my-config b/script/boxen-my-config index cfe20d8..bc51f79 100755 --- a/script/boxen-my-config +++ b/script/boxen-my-config @@ -9,7 +9,7 @@ end editor = ENV["VISUAL"] || ENV["EDITOR"] home = ENV["BOXEN_HOME"] + "/repo" -user = user.downcase +user = user.downcase.tr('-', '_') path = "#{home}/modules/people/manifests/#{user}.pp" unless File.exist? path