Skip to content

Instantly share code, notes, and snippets.

View adam-phillipps's full-sized avatar

Adam adam-phillipps

  • NGage
  • Salt Lake City, UT.
View GitHub Profile
...
class Platforms(Blueprint):
VARIABLES = {
"Containers": {
"type": TroposphereType(ecs.ContainerDefinition, many=True),
"description": "Container-descriptions in an ECS cluster"
}
}
I, [2017-11-14T23:00:23.650968 #29194] INFO -- : Minder sending message: "please remediate password for BANSECR_DRONZONI on banapp-l202a.wgu.edu for database login attempt shows "password expired" as BANSECR_DRONZONI on banapp-l202a.wgu.edu for please query data store under development" to -> broker
I, [2017-11-14T23:00:23.651410 #29194] INFO -- : Broker received: please remediate password for BANSECR_DRONZONI on banapp-l202a.wgu.edu for database login attempt shows "password expired" as BANSECR_DRONZONI on banapp-l202a.wgu.edu for please query data store under development
I, [2017-11-14T23:00:23.656424 #29194] INFO -- : Minder sending message: "please remediate password for WGUSCRIPT on WGU_UT for database login attempt shows "bad password" as WGUSCRIPT on WGU_UT\CTXAPP-AP02 for please query data store under development" to -> broker
I, [2017-11-14T23:00:23.656518 #29194] INFO -- : Broker received: please remediate password for WGUSCRIPT on WGU_UT for database login attempt shows "bad password" as WGUSCR
inspec exec test/recipes/default_test.rb
Target: local://
System Package
∅ mysql-community-server should be installed
expected that `System Package mysql-community-server` is installed
System Package
∅ mysql-community-client should be installed
Adams-MBP:ops adam.phillipps$ knife search 'role:*app-*studentinfo*'
2 items found
Node Name: appsrv-vp28a.wgu.edu
Environment: production
FQDN: appsrv-vp28a.wgu.edu
IP: 54.148.213.23
Run List: role[ops-base], role[ops-iptables-open], role[ops-wgu-appdeploy-prep], role[ops-java8], role[app-wgu-studentinfo-api], role[ops-wgu-appdeploy], role[ops-nagios-base]
Roles: ops-base, ops-resolver-prod, ops-snmp-cacti, ops-sysctl, ops-splunk-client, ops-nagios-base, ops-rsyslog, ops-iptables-open, ops-wgu-appdeploy-prep, ops-java8, app-wgu-studentinfo-api, ops-wgu-appdeploy
Recipes: resolver, resolver::default, alllinux::login_defs, wgu::update-chef-ca, chef-client::config, chef-client::service, wgu::packages, wgu::skel, wgu::create-splat-wgu-prod, wgu-users::create-base-users, wgu-users::create-ops-users, wgu-users::create-discovery-admins, wgu-users::change-root, wgu_ntp::client, selinux::disabled, motd::default, sudo, sudo::default, wgu::create_asadmin, wgu::cacti-snmp, snmp, snmp::def
Compiling Cookbooks...
[2017-02-14T00:09:17+00:00] ERROR: Failed to load data bag item: "wgu_ossec" "ssh"
================================================================================
Recipe Compile Error in /tmp/kitchen/cache/cookbooks/wgu_ossec/recipes/agent.rb
================================================================================
Net::HTTPServerException
------------------------
404 "Not Found"
@adam-phillipps
adam-phillipps / stdout.log
Last active February 8, 2017 20:13
manually running chef-client throws 0 errors but doesn't succeed
* glassfish_asadmin[set server.network-config.protocols.protocol.http-listener-1.http.max-connections=4096] action run
* bash[asadmin set server.network-config.protocols.protocol.http-listener-1.http.max-connections=4096] action run
- execute "bash" "/tmp/chef-script20170208-21936-xwdrzw"
* execute[Delete GF http-listener-2 (port 8181)] action run (skipped due to only_if)
Running handlers:
- Motd::KnifeStatus
Running handlers complete
@adam-phillipps
adam-phillipps / Student class
Created January 30, 2017 05:17
more fun with static variables....lol
package studentapp;
/**
*
* @author leslieWood
*/
public class Student
{
private String fName;
arr = ARGV
case arr.size
when 1
get_more 4
when 2
get_more 3
when 3
get_more 2
tldr; make a db connection `sis <-> sis automation suite <-> canvas`
we can test end to end and every combination of steps in between.
************
if we use beta or test or something for canvas and sis app, we can get a head start
************
the alternative i can see is fine but it has several downsides. maybe i'm not seeing something even more easy, though.
exp test case:
- cause error in grade passback w/ pinnacle by leaving sis id off of a user
package selections.and.looping;
import java.util.Scanner;
/* This program inputs an ending number and displays all numbers between
1 and the ending number that are evenly divisible by 3.
*/
public class SelectionsAndLooping
{