<commit_before>maintainer       "RightScale, Inc."
maintainer_email "<EMAIL>"
license          IO.read(File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'LICENSE')))
description      "Enable instance Monitoring and logging in the RightScale dashboard."
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
version          "0.0.1"
 
recipe "rs_utils::default", "Install rightscale_tools and set tags only."
recipe "rs_utils::setup_logging", "Install and configure RightScale dashboard logging."
recipe "rs_utils::setup_monitoring", "Install and configure RightScale dashboard monitoring."
recipe "rs_utils::setup_mail", "Basic mail setup."
recipe "rs_utils::setup_ssh", "Installs private ssh key."
recipe "rs_utils::setup_hostname", "Set system hostname."
recipe "rs_utils::setup_timezone", "Sets system timezone."
recipe "rs_utils::setup_server_tags", "Sets machine tags common to all RightScale managed servers."
recipe "rs_utils::install_tools", "Install RightScale instance tools"
recipe "rs_utils::install_mysql_collectd_plugin", "Install mysql collectd plugin"
recipe "rs_utils::install_file_stats_collectd_plugin", "Install file-stats.rb collectd plugin.  This is used for mysql binary backup alerting."

attribute "rs_utils/timezone",
  :display_name => "Timezone",
  :description => "Sets the system time to the timezone of the specified input, which must be a valid zoneinfo/tz database entry.  If the input is 'unset' the timezone will use the 'localtime' that's defined in your RightScale account under Settings -> User -> Preferences tab.  You can find a list of valid examples from the timezone pulldown bar in the Preferences tab. The server will not be updated for daylight savings time.  Ex: US/Pacific, US/Eastern",
  :required => "optional",
  :recipes => [ "rs_utils::setup_timezone" ]
  
attribute "rs_utils/process_list",
  :display_name => "Process List",
  :description => "A space-separated list of additional processes to monitor in the RightScale Dashboard.  Ex: sshd crond",
  :required => "optional",
  :default => "",
  :recipes => [ "rs_utils::install_mysql_collectd_plugin", "rs_utils::setup_monitoring" ]

attribute "rs_utils/process_match_list",
  :display_name => "Process Match List",
  :description => "A space-separated list of pairs used to match the name(s) of additional processes to monitor in the RightScale Dashboard.  Pair arguments are passed in using the syntax 'name/regex'. Ex: ssh/ssh* cron/cron*",
  :required => "optional",
  :default => "",
  :recipes => [ "rs_utils::install_mysql_collectd_plugin", "rs_utils::setup_monitoring" ]

attribute "rs_utils/private_ssh_key",<commit_msg>Add choices for rs_utils/timezone.<commit_after>maintainer       "RightScale, Inc."
maintainer_email "<EMAIL>"
license          IO.read(File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'LICENSE')))
description      "Enable instance Monitoring and logging in the RightScale dashboard."
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
version          "0.0.1"
 
recipe "rs_utils::default", "Install rightscale_tools and set tags only."
recipe "rs_utils::setup_logging", "Install and configure RightScale dashboard logging."
recipe "rs_utils::setup_monitoring", "Install and configure RightScale dashboard monitoring."
recipe "rs_utils::setup_mail", "Basic mail setup."
recipe "rs_utils::setup_ssh", "Installs private ssh key."
recipe "rs_utils::setup_hostname", "Set system hostname."
recipe "rs_utils::setup_timezone", "Sets system timezone."
recipe "rs_utils::setup_server_tags", "Sets machine tags common to all RightScale managed servers."
recipe "rs_utils::install_tools", "Install RightScale instance tools."
recipe "rs_utils::install_mysql_collectd_plugin", "Install mysql collectd plugin."
recipe "rs_utils::install_file_stats_collectd_plugin", "Install file-stats.rb collectd plugin.  This is used for mysql binary backup alerting."

attribute "rs_utils/timezone",
  :display_name => "Timezone",
  :description => "Sets the system time to the timezone of the specified input, which must be a valid zoneinfo/tz database entry.  If the input is 'unset' the timezone will use the 'localtime' that's defined in your RightScale account under Settings -> User -> Preferences tab.  You can find a list of valid examples from the timezone pulldown bar in the Preferences tab. The server will not be updated for daylight savings time.  Ex: US/Pacific, US/Eastern",
  :required => "optional",
  :choices => [ "US/Pacific", "US/Eastern", "Asia/Tokyo", "Australia/Sydney" ],
  :recipes => [ "rs_utils::setup_timezone" ]
  
attribute "rs_utils/process_list",
  :display_name => "Process List",
  :description => "A space-separated list of additional processes to monitor in the RightScale Dashboard.  Ex: sshd crond",
  :required => "optional",
  :default => "",
  :recipes => [ "rs_utils::install_mysql_collectd_plugin", "rs_utils::setup_monitoring" ]

attribute "rs_utils/process_match_list",
  :display_name => "Process Match List",
  :description => "A space-separated list of pairs used to match the name(s) of additional processes to monitor in the RightScale Dashboard.  Pair arguments are passed in using the syntax 'name/regex'. Ex: ssh/ssh* cron/cron*",
  :required => "optional",
  :default => "",
  :recipes => [ "rs_utils::install_mysql_collectd_plugin", "rs_utils::setup_monitoring" ]

attribute "rs_utils/private_ssh_key",
{'fraction_non_alphanumeric': 0.11450101084359493, 'fraction_numerical': 0.0011027384671935306, 'mean_word_length': 5.572463768115942, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 38, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '901718', 'n_tokens_mistral': 1619, 'n_tokens_neox': 1574, 'n_words': 523}